[update 系统] i18n抽离单独js文件
This commit is contained in:
@@ -172,7 +172,7 @@ export const ConfigurableTableMixin = {
|
||||
if (this.operationList && this.operationList.length > this.operateMaxNum + 1) {
|
||||
width += this.getTextWith(this.operationList[0].text) + this.getTextWith(this.$t('more'))
|
||||
} else if (this.operationList && this.operationList.length > 1) {
|
||||
width += this.getTextWith(this.operationList[0].text) + this.getTextWith(this.operationList[1].text)
|
||||
width += this.getTextWith(this.operationList[0].text) + this.getTextWith(this.operationList[1].text)
|
||||
console.log(width)
|
||||
}
|
||||
const operateColumn = JSON.parse(JSON.stringify(this.operateColumn))
|
||||
@@ -322,9 +322,9 @@ export const ConfigurableTableMixin = {
|
||||
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