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' // 引入uView import uView from '@/uni_modules/uview-ui' // 挂载全局对象 Vue.use(plugins).use(uView) Vue.config.productionTip = false // 挂载vuex Vue.prototype.$store = store Vue.prototype.$dict = dict App.mpType = 'app' const app = new Vue({ ...App }) app.$mount()