mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-08-27 21:21:42 +08:00
@@ -296,8 +296,10 @@
|
|||||||
|
|
||||||
// 刷新页面
|
// 刷新页面
|
||||||
const reloadPage = () => {
|
const reloadPage = () => {
|
||||||
|
const full = unref(route);
|
||||||
router.push({
|
router.push({
|
||||||
path: '/redirect' + unref(route).fullPath,
|
path: '/redirect' + full.path,
|
||||||
|
query: full.query,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@@ -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,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user