|
@@ -80,7 +80,7 @@ export default {
|
|
},
|
|
},
|
|
topage() {
|
|
topage() {
|
|
const item = this.menusall.find(e => e.code == this.code);
|
|
const item = this.menusall.find(e => e.code == this.code);
|
|
- if (item.type == '2') {
|
|
|
|
|
|
+ if (item?.type == '2') {
|
|
this.$router.push(`/pages/${item.code}`);
|
|
this.$router.push(`/pages/${item.code}`);
|
|
return false;
|
|
return false;
|
|
}
|
|
}
|