Explorar el Código

2级允许排序

1
mo hace 3 años
padre
commit
2f4bd10986
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/teachManager/modals/addTeach.vue

+ 1 - 1
src/views/teachManager/modals/addTeach.vue

@@ -302,7 +302,7 @@ export default {
       if (draggingNode.childNodes.length > 0 && type == "inner") {
         flag = false;
       } else {
-        if (dropNode.level != 1) {
+        if (dropNode.level != 1&& type == "inner") {
          flag = false;
         }
       }