fix: 后台「访问前台」打开独立公开路由 /home,绕过管理员登录重定向
This commit is contained in:
1 parent
5617d4304b
commit
5a6a7a5fb7
2 files changed
+3
-1
No files matched your search
@@ -329,7 +329,7 @@ const AdminLayout: React.FC = () => {
|
||||
|
||||
const handleVisitFrontend = () => {
|
||||
|
||||
const url = window.location.origin + '/';
|
||||
const url = window.location.origin + '/home';
|
||||
|
||||
window.open(url, '_blank');
|
||||
|
||||
|
||||
Reference in new issue
Block a user