fix(component): 修复后端刷新丢失参数问题

This commit is contained in:
ronger 2024-03-06 16:30:56 +08:00
parent 7534e7c90b
commit 572029b821

View File

@ -189,11 +189,13 @@ export default {
_ts.$store.commit('admin/pushTags', _ts.menus[index]) _ts.$store.commit('admin/pushTags', _ts.menus[index])
reset = '1' reset = '1'
} }
let params = _ts.$route.params
params.reset = reset
let query = _ts.$route.query
_ts.$router.push({ _ts.$router.push({
name: item, name: item,
params: { params,
reset: reset query
}
}) })
}, },
handleSelectMenu(item) { handleSelectMenu(item) {