mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-09-25 12:46:40 +08:00
fix: 修复带参数刷新参数丢失
This commit is contained in:
parent
626275700d
commit
e453f880e0
@ -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,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user