From 1e2c64f55ffb16daffce574f20a8f488a0d6e98a Mon Sep 17 00:00:00 2001
From: wwb <782276617@qq.com>
Date: Sun, 13 Apr 2025 17:01:54 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=94=99=E8=AF=AF=E6=8F=90?=
=?UTF-8?q?=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
hangtag-ui/hangtag-ui-admin/src/locales/en.ts | 2 +-
hangtag-ui/hangtag-ui-admin/src/views/oms/customer/index.vue | 4 ++--
hangtag-ui/hangtag-ui-front/src/config/axios/service.ts | 2 ++
hangtag-ui/hangtag-ui-front/src/locales/en.ts | 5 +++--
hangtag-ui/hangtag-ui-front/src/locales/zh-CN.ts | 3 ++-
5 files changed, 10 insertions(+), 6 deletions(-)
diff --git a/hangtag-ui/hangtag-ui-admin/src/locales/en.ts b/hangtag-ui/hangtag-ui-admin/src/locales/en.ts
index 35693dd..9f1db2f 100644
--- a/hangtag-ui/hangtag-ui-admin/src/locales/en.ts
+++ b/hangtag-ui/hangtag-ui-admin/src/locales/en.ts
@@ -479,7 +479,7 @@ export default {
},
order:{
- ordermanage:'Order Manage',
+ ordermanage:'Order Management',
myorder:'My Order',
createorder:'Create Order'
},
diff --git a/hangtag-ui/hangtag-ui-admin/src/views/oms/customer/index.vue b/hangtag-ui/hangtag-ui-admin/src/views/oms/customer/index.vue
index 7177f1b..8d10664 100644
--- a/hangtag-ui/hangtag-ui-admin/src/views/oms/customer/index.vue
+++ b/hangtag-ui/hangtag-ui-admin/src/views/oms/customer/index.vue
@@ -109,10 +109,10 @@
>
-
+
-
+
diff --git a/hangtag-ui/hangtag-ui-front/src/config/axios/service.ts b/hangtag-ui/hangtag-ui-front/src/config/axios/service.ts
index 77c25c7..05d6c33 100644
--- a/hangtag-ui/hangtag-ui-front/src/config/axios/service.ts
+++ b/hangtag-ui/hangtag-ui-front/src/config/axios/service.ts
@@ -172,6 +172,8 @@ service.interceptors.response.use(
return Promise.reject(new Error(msg))
} else if (code === 1002023000) {
ElNotification.error({ title: t('sys.api.errMsg1002023000') })
+ } else if (code === 1002000000) {
+ ElNotification.error({ title: t('sys.api.errMsg1002000000') })
} else if (code !== 200) {
if (msg === '无效的刷新令牌') {
// hard coding:忽略这个提示,直接登出
diff --git a/hangtag-ui/hangtag-ui-front/src/locales/en.ts b/hangtag-ui/hangtag-ui-front/src/locales/en.ts
index 694ef26..4505794 100644
--- a/hangtag-ui/hangtag-ui-front/src/locales/en.ts
+++ b/hangtag-ui/hangtag-ui-front/src/locales/en.ts
@@ -362,7 +362,8 @@ export default {
errMsg504: 'Network timeout!',
errMsg505: 'The http version does not support the request!',
errMsg901: 'Demo mode, no write operations are possible!',
- errMsg1002023000: 'The email account does not exist'
+ errMsg1002023000: 'The email account does not exist',
+ errMsg1002000000: 'Login fail, The account password is incorrect'
},
app: {
logoutTip: 'Reminder',
@@ -480,7 +481,7 @@ export default {
},
order:{
- ordermanage:'Order Manage',
+ ordermanage:'Order Management',
myorder:'My Order',
createorder:'Create Order'
},
diff --git a/hangtag-ui/hangtag-ui-front/src/locales/zh-CN.ts b/hangtag-ui/hangtag-ui-front/src/locales/zh-CN.ts
index 74d110f..f9da4ef 100644
--- a/hangtag-ui/hangtag-ui-front/src/locales/zh-CN.ts
+++ b/hangtag-ui/hangtag-ui-front/src/locales/zh-CN.ts
@@ -360,7 +360,8 @@ export default {
errMsg504: '网络超时!',
errMsg505: 'http版本不支持该请求!',
errMsg901: '演示模式,无法进行写操作!',
- errMsg1002023000: '邮箱账号不存在'
+ errMsg1002023000: '邮箱账号不存在',
+ errMsg1002000000: '登录失败,账号密码不正确'
},
app: {
logoutTip: '温馨提醒',