手持机-制定出库页面

This commit is contained in:
刘汗青
2026-06-16 13:29:22 +08:00
parent aab14ac716
commit 4cf67d3610
8 changed files with 758 additions and 266 deletions

View File

@@ -2,15 +2,33 @@ import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import VueI18n from 'vue-i18n'
import './permission' // permission
// <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>԰<EFBFBD>
import enUS from './locales/en-US.json'
import zhCN from './locales/zh-CN.json'
Vue.use(plugins)
Vue.use(VueI18n)
Vue.config.productionTip = false
Vue.prototype.$store = store
// <20><><EFBFBD><EFBFBD>i18nʵ<6E><CAB5>
const i18n = new VueI18n({
locale: uni.getStorageSync('language') || 'zh-CN', // Ĭ<><C4AC><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
messages: {
'en-US': enUS,
'zh-CN': zhCN
}
})
Vue.prototype._i18n = i18n
App.mpType = 'app'
const app = new Vue({
i18n,
...App
})