Просмотр исходного кода

个人版问卷菜单仅保留团队信息和生成报告

htc 5 часов назад
Родитель
Сommit
9ed215212c
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pagesHome/components/createList.vue

+ 1 - 1
pagesHome/components/createList.vue

@@ -172,7 +172,7 @@ export default {
 		},
 		showDialog(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))
 			this.show = true;
 			this.$emit('showDialogFn',item);