Merge pull request #66 from chaoXxxxx/v2.0

fix: 修复带参数刷新参数丢失
This commit is contained in:
孟帅 2023-11-11 13:35:41 +08:00 committed by GitHub
commit 5801c5e9b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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