Compare commits
No commits in common. "2b03b4db24eff8f09e145b6eab5959c5cf3ef9b4" and "e5cd1178cd6aa543a52c14eb564af8dea23cc4ca" have entirely different histories.
2b03b4db24
...
e5cd1178cd
@ -40,7 +40,6 @@ export default {
|
|||||||
},
|
},
|
||||||
watch: {
|
watch: {
|
||||||
"$route.name"(newName, oldName) {
|
"$route.name"(newName, oldName) {
|
||||||
console.log(newName,oldName);
|
|
||||||
this.gerRouter();
|
this.gerRouter();
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -283,12 +283,9 @@ export default {
|
|||||||
|
|
||||||
return
|
return
|
||||||
|
|
||||||
} else if (item.router == 'largeScreen') {
|
} else if (item.router != this.routerNow && !item.http) {
|
||||||
const foundObject = this.limitUserId.find(item => item.id == 2);
|
const foundObject = this.limitUserId.find(item => item.id == 2);
|
||||||
if( !foundObject) return this.$message('您当前没有权限查看!')
|
if( !foundObject) return this.$message('您当前没有权限查看!')
|
||||||
|
|
||||||
} else if (item.router != this.routerNow && !item.http) {
|
|
||||||
|
|
||||||
this.$router.push({ name: item.router })
|
this.$router.push({ name: item.router })
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user