From 9dd7bf89909a0473ed02a7f1df7442973dd96c1e Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期三, 20 十一月 2024 11:25:51 +0800 Subject: [PATCH] fix 修复 手动登出与token过期登出跳转行为不一致问题 --- src/api/system/tenant/index.ts | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/api/system/tenant/index.ts b/src/api/system/tenant/index.ts index 4531a0a..7b7b93f 100644 --- a/src/api/system/tenant/index.ts +++ b/src/api/system/tenant/index.ts @@ -25,7 +25,8 @@ url: '/system/tenant', method: 'post', headers: { - isEncrypt: true + isEncrypt: true, + repeatSubmit: false }, data: data }); @@ -90,3 +91,11 @@ params: data }); } + +// 鍚屾绉熸埛瀛楀吀 +export function syncTenantDict() { + return request({ + url: '/system/tenant/syncTenantDict', + method: 'get', + }); +} -- Gitblit v1.9.3