修改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;
}, error => {
return Promise.reject(error);
return Promise.reject(this.$t('commons.tips'));
});
function then(success, response, result) {

View File

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

View File

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

View File

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