From 761f4ac65d86778b6fcf21db3d6ff78610830a90 Mon Sep 17 00:00:00 2001 From: lkk <364857242@qq.com> Date: 星期四, 31 七月 2025 18:03:00 +0800 Subject: [PATCH] Merge branch 'master' of http://101.42.27.146:5001/r/ltkj_peisweb_region --- src/permission.js | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/permission.js b/src/permission.js index 6bb0a1f..ac86064 100644 --- a/src/permission.js +++ b/src/permission.js @@ -45,7 +45,14 @@ // 鍦ㄥ厤鐧诲綍鐧藉悕鍗曪紝鐩存帴杩涘叆 next() } else { - next(`/login?redirect=${to.fullPath}`) // 鍚﹀垯鍏ㄩ儴閲嶅畾鍚戝埌鐧诲綍椤� + // next(`/login?redirect=${to.fullPath}}`) + // next(`/login?redirect=${to.fullPath}&hospId=${to.meta.routerType}`) // 鍚﹀垯鍏ㄩ儴閲嶅畾鍚戝埌鐧诲綍椤� + next({ + path:"/login", + query:{ + redirect:to.fullPath, + } + }) NProgress.done() } } -- Gitblit v1.8.0