Merge pull request #65 from chaoXxxxx/v2.0

fix: 修复带参数刷新页面参数丢失问题
This commit is contained in:
孟帅 2023-11-10 09:10:33 +08:00 committed by GitHub
commit baf35a3857
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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,
});
};