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) => {