mirror of
https://github.com/pure-admin/vue-pure-admin.git
synced 2025-06-30 09:24:46 +08:00
fix: menuModel
This commit is contained in:
parent
77c798eaed
commit
05ed941638
@ -272,9 +272,10 @@ function dynamicRouteTag(value: string, parentPath: string): void {
|
|||||||
// 重新加载
|
// 重新加载
|
||||||
function onFresh() {
|
function onFresh() {
|
||||||
toggleClass(true, refreshButton, document.querySelector(".rotate"));
|
toggleClass(true, refreshButton, document.querySelector(".rotate"));
|
||||||
const { fullPath } = unref(route);
|
const { fullPath, query } = unref(route);
|
||||||
router.replace({
|
router.replace({
|
||||||
path: "/redirect" + fullPath
|
path: "/redirect" + fullPath,
|
||||||
|
query: query
|
||||||
});
|
});
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
removeClass(document.querySelector(".rotate"), refreshButton);
|
removeClass(document.querySelector(".rotate"), refreshButton);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user