mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
fix(projects): 修复首页未从环境变量获取问题
This commit is contained in:
@ -31,7 +31,7 @@ const processResponse = async () => {
|
||||
msg.value = '登录成功,1s 后即将跳转至首页';
|
||||
}, 1000);
|
||||
setTimeout(() => {
|
||||
routerPushByKey('home');
|
||||
routerPushByKey(import.meta.env.VITE_ROUTE_HOME || 'home');
|
||||
}, 1000);
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user