This commit is contained in:
2023-12-01 18:10:50 +08:00
parent b1e3302f22
commit 2f18d90c8c
3 changed files with 30 additions and 36 deletions

View File

@@ -32,6 +32,13 @@ Vue.prototype.Dialog = Dialog
Vue.prototype.toast = toast
Vue.config.productionTip = false
Vue.prototype.$langPre = {
computedProp (suffix) {
// return localstorage.getItem( key: 'lang') + '_' + suffix
return localStorage.getItem('locale').slice(0, 2) + '_' + suffix
}
}
const publicKey = 'MFwwDQYJKoZIhvcNAQEBBQADSwAwSAJBANL378k3RiZHWx5AfJqdH9xRNBmD9wGD\n' +
'2iRe41HdTNF8RUhNnHit5NpMNtGL0NPTSSpPjjI1kJfVorRvaQerUgkCAwEAAQ=='