QYF-GitLab1
2024-07-26 f961a7e1d262afcc37b0743fcd9cec0f9fc1cbc2
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import Vue from 'vue'
import App from './App'
import './uni.promisify.adaptor'
import store from '@/store'
Vue.config.productionTip = false
// 引入elementUI开发
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';    
import 'leaflet/dist/leaflet.css'
import icon from "leaflet/dist/images/marker-icon.png" // 引入leaflet默认图标
import iconShadow from "leaflet/dist/images/marker-shadow.png" // 引入leaflet默认图标
 
Vue.prototype.icoName = icon
Vue.prototype.iconShadowName = iconShadow
Vue.use(ElementUI);
App.mpType = 'app'
 
const app = new Vue({
  ...App,
  store
})
app.$mount()