home国际化

This commit is contained in:
2026-01-19 11:12:33 +08:00
parent fdd4fad7e7
commit 28c09888d9
3 changed files with 76 additions and 70 deletions

View File

@@ -32,6 +32,12 @@ Vue.filter('findByValue', (array, value) => {
return item ? item.text : ''
});
Vue.prototype.$langPre = {
computedProp (suffix) {
return i18n.locale.slice(0, 2) + '_' + suffix
}
}
import store from '@/vuex/store.js'
const app = new Vue({