fix(测试跟踪): 用例评审页面默认展开模块树

--bug=1013839 --user=李玉号 【测试跟踪】用例评审页面部分问题优化
https://www.tapd.cn/55049933/s/1177601
This commit is contained in:
shiziyuan9527 2022-06-09 15:05:41 +08:00 committed by f2c-ci-robot[bot]
parent 3a247a3a88
commit e3ef8b8cbe
2 changed files with 8 additions and 0 deletions

View File

@ -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

View File

@ -7,6 +7,7 @@
v-loading="result.loading"
@nodeSelectEvent="nodeChange"
:tree-nodes="treeNodes"
:default-expand-all="true"
ref="nodeTree"/>
</template>
<template v-slot:main>