From 362bc84cfb217c173fd4cb32925bc1b7d51df79f Mon Sep 17 00:00:00 2001 From: dap <15891557205@163.com> Date: Tue, 1 Apr 2025 19:59:28 +0800 Subject: [PATCH] =?UTF-8?q?refactor:=20=E7=AE=A1=E7=90=86=E5=91=98?= =?UTF-8?q?=E7=A7=9F=E6=88=B7=E5=88=87=E6=8D=A2=E4=B8=8D=E5=86=8D=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E9=A6=96=E9=A1=B5=20=E7=9B=B4=E6=8E=A5=E5=88=B7?= =?UTF-8?q?=E6=96=B0=E5=BD=93=E5=89=8D=E9=A1=B5(=E9=99=A4=E7=89=B9?= =?UTF-8?q?=E6=AE=8A=E9=A1=B5=E9=9D=A2=E5=A4=96=E4=BC=9A=E5=9B=9E=E5=88=B0?= =?UTF-8?q?=E9=A6=96=E9=A1=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 1 + .../components/tenant-toggle/src/index.vue | 43 +++++++++++++------ apps/web-antd/src/router/routes/local.ts | 6 +++ .../@core/base/typings/src/vue-router.d.ts | 6 +++ 4 files changed, 44 insertions(+), 12 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c47ae04f..165a1b8b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - 文件上传/图片上传重构(破坏性更新 不兼容之前的api) - 文件上传/图片上传**不再支持**url用法 强制使用ossId - TableSwitch组件重构 +- 管理员租户切换不再返回首页 直接刷新当前页(除特殊页面外会回到首页) **BUG FIX** diff --git a/apps/web-antd/src/components/tenant-toggle/src/index.vue b/apps/web-antd/src/components/tenant-toggle/src/index.vue index a3398f0b..2ca5f243 100644 --- a/apps/web-antd/src/components/tenant-toggle/src/index.vue +++ b/apps/web-antd/src/components/tenant-toggle/src/index.vue @@ -1,13 +1,13 @@