多租户商城-商户小程序端
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

39 lines
733 B

import Vue from 'vue'
import App from './App'
import uView from "uview-ui";
Vue.use(uView);
import messages from './locale/index'
let i18nConfig = {
locale: uni.getLocale(),
messages
}
Vue.config.productionTip = false
import store from './store'
import _ from 'lodash'
import {jump,jumpToTabbar,goBack,getJumpParam} from './utils/jumpUtil'
Vue.prototype.$store = store
Vue.prototype.$lodash = _
Vue.prototype.$jump = jump
Vue.prototype.$jumpToTabbar = jumpToTabbar
Vue.prototype.$goBack = goBack
Vue.prototype.$getJumpParam = getJumpParam
App.mpType = 'app'
import VueI18n from 'vue-i18n'
Vue.use(VueI18n)
const i18n = new VueI18n(i18nConfig)
window.i18n = i18n;
const app = new Vue({
i18n,
...App
})
app.$mount()