fix(component): 修复后端刷新丢失参数问题
This commit is contained in:
parent
7534e7c90b
commit
572029b821
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user