Explorar o código

12/1 提交测试

mo %!s(int64=4) %!d(string=hai) anos
pai
achega
471af4263b
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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) {