修改session过期提示

This commit is contained in:
wenyann 2020-05-26 18:45:22 +08:00
parent 499ddca4c3
commit 7760fbea72
4 changed files with 7 additions and 4 deletions

View File

@ -29,7 +29,7 @@ export default {
} }
return response; return response;
}, error => { }, error => {
return Promise.reject(error); return Promise.reject(this.$t('commons.tips'));
}); });
function then(success, response, result) { function then(success, response, result) {

View File

@ -90,7 +90,8 @@ export default {
'test_unit': 'tests', 'test_unit': 'tests',
'remove': 'Remove', 'remove': 'Remove',
'remove_cancel': 'Remove Failed', 'remove_cancel': 'Remove Failed',
'remove_success': 'Remove Success' 'remove_success': 'Remove Success',
'tips': 'The authentication information has expired, please login again'
}, },
workspace: { workspace: {
'create': 'Create Workspace', 'create': 'Create Workspace',

View File

@ -89,7 +89,8 @@ export default {
'account_cannot_be_empty': '帐户不能为空', 'account_cannot_be_empty': '帐户不能为空',
'remove': '移除', 'remove': '移除',
'remove_cancel': '移除失败', 'remove_cancel': '移除失败',
'remove_success': '移除成功' 'remove_success': '移除成功',
'tips': '认证信息已过期,请重新登录'
}, },
workspace: { workspace: {
'create': '创建工作空间', 'create': '创建工作空间',

View File

@ -89,7 +89,8 @@ export default {
'account_cannot_be_empty': '帳戶不能為空', 'account_cannot_be_empty': '帳戶不能為空',
'remove': '移除', 'remove': '移除',
'remove_cancel': '移除失敗', 'remove_cancel': '移除失敗',
'remove_success': '移除成功' 'remove_success': '移除成功',
'tips': '认認證資訊已過期,請重新登入'
}, },
workspace: { workspace: {
'create': '創建工作空間', 'create': '創建工作空間',