Przeglądaj źródła

修改辅检层级维护拖拽bug

zhangxc 5 lat temu
rodzic
commit
7fb0c362a5

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

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