[update 系统] i18n抽离单独js文件
This commit is contained in:
+3
-3
@@ -637,9 +637,9 @@ export default {
|
||||
const token = Vue.ls.get(ACCESS_TOKEN)
|
||||
if (token && data.message.includes('Token失效')) {
|
||||
this.error({
|
||||
title: '登录已过期',
|
||||
content: '很抱歉,登录已过期,请重新登录',
|
||||
okText: '重新登录',
|
||||
title: this.$t('loginExpired'),
|
||||
content: this.$t('loginExpiredMessage'),
|
||||
okText: this.$t('logInAgain'),
|
||||
mask: false,
|
||||
onOk: () => {
|
||||
store.dispatch('Logout').then(() => {
|
||||
|
||||
Reference in New Issue
Block a user