朱桂飞
2023-04-03 458962a2e4a4f6af0caa5fcb3867f2e42125fd40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
import App from './App'
import Vue from 'vue'
 
// 此处为引用自定义顶部
import cuCustom from './colorui/components/cu-custom.vue'
Vue.component('cu-custom',cuCustom);
import TnCustom from './components/TnCustom/TnCustom.vue'
Vue.component('tn-custom', TnCustom)
 
import uView from "uview-ui";
Vue.use(uView);
 
 
import api from '@/common/api.js'
 
    // 全局挂载后使用
Vue.prototype.$api = api
 
import lget from '@/common/loadshget.js'
    // 全局挂载后使用
Vue.prototype.$lget = lget
 
//全局监控定时器(在页面使用局部定时器会出现无法关闭问题)
Vue.prototype.$monitorTimer = null
 
Vue.config.productionTip = false
App.mpType = 'app'
 
const app = new Vue({
  ...App
})
app.$mount()