main.js
@@ -1,6 +1,5 @@ import Vue from 'vue' import App from './App' import store from "./store"; // i18n import messages from './locale' import VueI18n from 'vue-i18n' @@ -12,17 +11,13 @@ Vue.use(VueI18n) Vue.config.productionTip = false Vue.prototype.$store = store App.mpType = 'app' const i18n = new VueI18n(i18nConfig) const app = new Vue({ store, ...App, i18n, ...App, i18n, }) app.$mount() app.$mount()