pull/81/head
parent
882eefb00e
commit
3fd7594de0
|
@ -40,6 +40,7 @@ export default {
|
|||
},
|
||||
watch: {
|
||||
"$route.name"(newName, oldName) {
|
||||
console.log(newName,oldName);
|
||||
this.gerRouter();
|
||||
},
|
||||
},
|
||||
|
|
|
@ -283,9 +283,12 @@ export default {
|
|||
|
||||
return
|
||||
|
||||
} else if (item.router != this.routerNow && !item.http) {
|
||||
} else if (item.router == 'largeScreen') {
|
||||
const foundObject = this.limitUserId.find(item => item.id == 2);
|
||||
if (!foundObject) return this.$message('您当前没有权限查看!')
|
||||
|
||||
} else if (item.router != this.routerNow && !item.http) {
|
||||
|
||||
this.$router.push({ name: item.router })
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue