import Vue from 'vue' import App from './App' import store from './store' // store import plugins from './plugins' // plugins import './permission' // permission import * as dict from '@/utils/dict.js' import * as util from '@/utils/ruoyi.js' // 引入uView import uView from '@/uni_modules/uview-ui' // import mpShare from '@/uni_modules/uview-ui/libs/mixin/mpShare.js' // Vue.mixin(mpShare) // 挂载全局对象 Vue.use(plugins).use(uView) let mpShare = require('@/uni_modules/uview-ui/libs/mixin/mpShare.js'); Vue.mixin(mpShare) Vue.config.productionTip = false // 挂载vuex Vue.prototype.$store = store Vue.prototype.$dict = dict Vue.prototype.$util = util App.mpType = 'app' const app = new Vue({ ...App }) app.$mount()