1178232204@qq.com 3 lat temu
rodzic
commit
b068a93558
1 zmienionych plików z 1 dodań i 3 usunięć
  1. 1 3
      src/components/knowledgeExtra/AddNewRule.vue

+ 1 - 3
src/components/knowledgeExtra/AddNewRule.vue

@@ -358,9 +358,7 @@ export default {
               ) || [];
           if (arr[i - 1] && arr[i - 1].groupId == item.groupId) {
             this.$set(item, 'disabled', false);
-            console.log(item);
-            
-            if (del.length > 0 && item.subType == types[2]) {
+            if (del.length > 0 && item.subType == del[0].split('-')[2]) {
               const delType = del[0].split('-');
               const types = del[0].split('-');
               let baseTypeList = JSON.parse(JSON.stringify(this.baseTypeList));