Explorar o código

修改辅检层级维护拖拽bug

zhangxc %!s(int64=5) %!d(string=hai) anos
pai
achega
7fb0c362a5
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/components/medicalTerm/AddAssistCheckMultRelation.vue

+ 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'