main
This commit is contained in:
@@ -35,7 +35,7 @@ Vue.config.productionTip = false
|
||||
Vue.prototype.$langPre = {
|
||||
computedProp (suffix) {
|
||||
// return localstorage.getItem( key: 'lang') + '_' + suffix
|
||||
return localStorage.getItem('locale').slice(0, 2) + '_' + suffix
|
||||
return i18n.locale.slice(0, 2) + '_' + suffix
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user