From 9dcb53905ff6c0ece439b1d36a44002b708b4386 Mon Sep 17 00:00:00 2001 From: xlsea Date: Fri, 19 Apr 2024 17:41:21 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E9=80=9A=E7=9F=A5?= =?UTF-8?q?=E4=BA=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- src/components/common/operate-drawer.vue | 3 +- src/typings/api.d.ts | 2 +- .../modules/namespace-operate-drawer.vue | 12 ++- .../recipient/modules/dingding-form.vue | 64 +++++++--------- .../notify/recipient/modules/email-form.vue | 53 ++++++-------- .../notify/recipient/modules/lark-form.vue | 55 ++++++-------- .../notify-recipient-operate-drawer.vue | 73 ++++++++++--------- .../notify/recipient/modules/wecom-form.vue | 57 ++++++--------- .../modules/notify-config-operate-drawer.vue | 6 +- 10 files changed, 152 insertions(+), 175 deletions(-) diff --git a/.env b/.env index 6243649..4d2a459 100644 --- a/.env +++ b/.env @@ -35,7 +35,7 @@ VITE_SERVICE_SUCCESS_CODE=1 VITE_SERVICE_LOGOUT_CODES=8888,8889 # modal logout codes of backend service, when the code is received, the user will be logged out by displaying a modal -VITE_SERVICE_MODAL_LOGOUT_CODES=0 +VITE_SERVICE_MODAL_LOGOUT_CODES=5001 # token expired codes of backend service, when the code is received, it will refresh the token and resend the request VITE_SERVICE_EXPIRED_TOKEN_CODES=9999,9998 diff --git a/src/components/common/operate-drawer.vue b/src/components/common/operate-drawer.vue index b9f1176..6b3552b 100644 --- a/src/components/common/operate-drawer.vue +++ b/src/components/common/operate-drawer.vue @@ -14,7 +14,6 @@ interface Props { const props = defineProps(); interface Emits { - (e: 'submitted'): void; (e: 'update:modelValue', modelValue: boolean): void; } @@ -64,7 +63,7 @@ const onUpdateShow = (value: boolean) => {