fix(测试跟踪): 用例评审页面默认展开模块树
--bug=1013839 --user=李玉号 【测试跟踪】用例评审页面部分问题优化 https://www.tapd.cn/55049933/s/1177601
This commit is contained in:
parent
3a247a3a88
commit
e3ef8b8cbe
|
@ -8,6 +8,7 @@
|
|||
class="filter-tree node-tree"
|
||||
:data="extendTreeNodes"
|
||||
:default-expanded-keys="expandedNode"
|
||||
:default-expand-all="defaultExpandAll"
|
||||
node-key="id"
|
||||
@node-drag-end="handleDragEnd"
|
||||
@node-expand="nodeExpand"
|
||||
|
@ -141,6 +142,12 @@ export default {
|
|||
return 50;
|
||||
}
|
||||
},
|
||||
defaultExpandAll: {
|
||||
type: Boolean,
|
||||
default() {
|
||||
return false;
|
||||
}
|
||||
},
|
||||
updatePermission: Array,
|
||||
addPermission: Array,
|
||||
deletePermission: Array
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
v-loading="result.loading"
|
||||
@nodeSelectEvent="nodeChange"
|
||||
:tree-nodes="treeNodes"
|
||||
:default-expand-all="true"
|
||||
ref="nodeTree"/>
|
||||
</template>
|
||||
<template v-slot:main>
|
||||
|
|
Loading…
Reference in New Issue