lang
This commit is contained in:
@@ -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=='
|
||||
|
||||
|
||||
Reference in New Issue
Block a user