[update 系统] i18n抽离单独js文件

This commit is contained in:
danshihao
2024-07-10 20:16:04 +08:00
parent 2fbe21e796
commit cd05097be0
8 changed files with 62 additions and 37 deletions
@@ -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(() => {