优化部分错误码
This commit is contained in:
@@ -104,14 +104,6 @@ function handleUpdatePassword(e: MouseEvent) {
|
||||
updatePasswordModalState.value.show = false
|
||||
ms.success(t('common.success'))
|
||||
}
|
||||
else if (code === 0) {
|
||||
// 旧密码错误
|
||||
|
||||
}
|
||||
else {
|
||||
// 其他错误
|
||||
ms.error(`${t('common.failed')}:${msg}`)
|
||||
}
|
||||
}).finally(() => {
|
||||
updatePasswordModalState.value.loading = false
|
||||
}).catch(() => {
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"1004": "Account has been deactivated or inactivated",
|
||||
"1005": "Currently no permission to operate",
|
||||
"1006": "Account does not exist",
|
||||
"1007": "Old password error",
|
||||
"1200": "database error",
|
||||
"1201": "Please keep at least one",
|
||||
"1202": "Data record not found",
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
"1004": "账号已停用或未激活",
|
||||
"1005": "当前无权限操作",
|
||||
"1006": "账号不存在",
|
||||
"1007": "旧密码错误",
|
||||
"1200": "数据库出错",
|
||||
"1201": "请至少保留一个",
|
||||
"1202": "未找到数据记录",
|
||||
@@ -55,7 +56,7 @@
|
||||
"configFailed": "配置保存失败,{message}",
|
||||
"configSaved": "配置已保存",
|
||||
"contentArea": "内容区域",
|
||||
"customFooter": "自定义footer",
|
||||
"customFooter": "自定义页脚",
|
||||
"customImageAddress": "展开图片链接输入框",
|
||||
"detailIcon": "详情图标",
|
||||
"hideDescription": "隐藏描述信息",
|
||||
|
||||
Reference in New Issue
Block a user