mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 03:46:45 +08:00
Merge branch 'zcwy-zsx0223' into dev0223
This commit is contained in:
@@ -1050,6 +1050,10 @@ export default {
|
||||
console.log("监听路由", n, store.state.openpages, state.keysList);
|
||||
// console.log("new:" + n.toLowerCase() + ",old:" + o);
|
||||
let arr = state.keysList;
|
||||
if(!arr.some(page => page.href === n)){
|
||||
console.log('不存在',n)
|
||||
return
|
||||
}
|
||||
arr.map((value) => {
|
||||
if (n.toLowerCase() === value.href) {
|
||||
localStorage.setItem("openKeys", JSON.stringify([value.openKeys]));
|
||||
|
||||
Reference in New Issue
Block a user