From 8851bbcdd63b5989468b4c28bd3044d03b1e2268 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期五, 23 八月 2024 11:12:18 +0800
Subject: [PATCH] update
---
src/permission.ts | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/permission.ts b/src/permission.ts
index a2e58d1..6db7476 100644
--- a/src/permission.ts
+++ b/src/permission.ts
@@ -83,7 +83,7 @@
// 鏂板銆愯瘖瀹ら�夋嫨銆戦�昏緫
if (userStore.getRoles.includes("doctor") && !userStore.getIsSetRoom ) {
- next({path: "/login-room-select"})
+ next({path: `/login-room-select?redirect=${to.fullPath}`})
}
// <<<銆愯瘖瀹ら�夋嫨銆�<<<
else {
--
Gitblit v1.9.3