fix: 修复带参数刷新页面参数丢失问题

This commit is contained in:
lizc 2023-11-09 11:40:31 +08:00
parent a032664766
commit 626275700d

View File

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