|
@@ -172,7 +172,7 @@ export default {
|
|
|
},
|
|
},
|
|
|
showDialog(item){
|
|
showDialog(item){
|
|
|
this.dto = item;
|
|
this.dto = item;
|
|
|
- if(this.dto.type==1) this.menuListCopy = this.menuList.filter((_, index) => index !== 4);
|
|
|
|
|
|
|
+ if(this.dto.type==1) this.menuListCopy = this.menuList.filter((_, index) => ![0,1,3,4].includes(index));
|
|
|
else this.menuListCopy = JSON.parse(JSON.stringify(this.menuList))
|
|
else this.menuListCopy = JSON.parse(JSON.stringify(this.menuList))
|
|
|
this.show = true;
|
|
this.show = true;
|
|
|
this.$emit('showDialogFn',item);
|
|
this.$emit('showDialogFn',item);
|