测试计划节点无法拖动
This commit is contained in:
parent
62bf729e8c
commit
4c9f59d7d8
|
@ -14,6 +14,7 @@
|
|||
@refresh="refresh"
|
||||
:tree-nodes="treeNodes"
|
||||
:type="'edit'"
|
||||
:draggable="true"
|
||||
:select-node.sync="selectNode"
|
||||
ref="nodeTree"/>
|
||||
</el-aside>
|
||||
|
|
|
@ -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: {
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
@nodeSelectEvent="nodeChange"
|
||||
@refresh="refresh"
|
||||
:tree-nodes="treeNodes"
|
||||
:draggable="false"
|
||||
ref="nodeTree"/>
|
||||
</el-aside>
|
||||
|
||||
|
|
Loading…
Reference in New Issue