Browse Source

辅捡层级拖动bug修改2616

zhouna 5 năm trước cách đây
mục cha
commit
1aeeed2d7a
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/components/medicalTerm/AddAssistCheckMultRelation.vue

+ 1 - 1
src/components/medicalTerm/AddAssistCheckMultRelation.vue

@@ -163,7 +163,7 @@ import apis from '@api/medicalTerm.js';
     },
     methods:{
        allowDrop(draggingNode, dropNode, type) {
-        if(draggingNode.data.parentConceptName !== dropNode.data.parentConceptName){
+        if(draggingNode.level !== dropNode.level){
           return false
         }else{
           return type !== 'inner'