fix: 修复带参数刷新参数丢失

This commit is contained in:
lizc 2023-11-10 09:35:52 +08:00
parent 626275700d
commit e453f880e0

View File

@ -327,8 +327,10 @@
// //
const reloadPage = () => { const reloadPage = () => {
delKeepAliveCompName(); delKeepAliveCompName();
const full = unref(route);
router.push({ router.push({
path: '/redirect' + unref(route).fullPath, path: '/redirect' + full.path,
query: full.query,
}); });
}; };