测试计划节点无法拖动

This commit is contained in:
chenjianxing 2020-05-13 11:56:51 +08:00
parent 62bf729e8c
commit 4c9f59d7d8
3 changed files with 7 additions and 1 deletions

View File

@ -14,6 +14,7 @@
@refresh="refresh"
:tree-nodes="treeNodes"
:type="'edit'"
:draggable="true"
:select-node.sync="selectNode"
ref="nodeTree"/>
</el-aside>

View File

@ -14,7 +14,7 @@
:filter-node-method="filterNode"
:expand-on-click-node="false"
highlight-current
draggable
:draggable="draggable"
ref="tree"
>
<template v-slot:default="{node,data}">
@ -102,6 +102,10 @@ export default {
},
selectNode: {
type: Object
},
draggable: {
type: Boolean,
default: true
}
},
watch: {

View File

@ -13,6 +13,7 @@
@nodeSelectEvent="nodeChange"
@refresh="refresh"
:tree-nodes="treeNodes"
:draggable="false"
ref="nodeTree"/>
</el-aside>