Forráskód Böngészése

12/1 提交测试

mo 4 éve
szülő
commit
471af4263b
1 módosított fájl, 4 hozzáadás és 1 törlés
  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) {