quanyawei
2023-11-13 7f922eb1e96e21e72fccc651167348021af039d2
main.js
@@ -6,6 +6,7 @@
// import * as common from './utils/common' // 公共文件
import store from './store/index.js'
import storage from './utils/storage' // 缓存文件
import share from './utils/share.js' // 导入并挂载全局的分享方法
import '.env.js'
// 定义全局
Vue.prototype.$store = store
@@ -24,4 +25,5 @@
})
app.$mount()
import uView from '@/uni_modules/uview-ui'
Vue.use(uView)
Vue.use(uView)
Vue.mixin(share)