mo преди 4 години
родител
ревизия
471af4263b
променени са 1 файла, в които са добавени 4 реда и са изтрити 1 реда
  1. 4 1
      src/views/teamDetail/componentCourse/addCompound.vue

+ 4 - 1
src/views/teamDetail/componentCourse/addCompound.vue

@@ -118,7 +118,10 @@ export default {
       let idList = []
       this.dataList.forEach(com => {
         arr.push(com.type)
-        idList.push(com.id)
+        if(com.id != this.radio){
+            idList.push(com.id)
+        }
+      
       })
       arr = [... new Set(arr)]
       if (arr.length != 1) {