refactor(测试跟踪): 脑图用例保存后不刷新

--bug=1014144 --user=陈建星 【测试跟踪】脑图用例保存后跳转到模块级别,应停留在当前页面 https://www.tapd.cn/55049933/s/1183544
This commit is contained in:
chenjianxing 2022-06-16 11:08:17 +08:00 committed by f2c-ci-robot[bot]
parent f5f272bd0e
commit ba2d393c48
1 changed files with 7 additions and 1 deletions

View File

@ -120,7 +120,7 @@
:project-id="projectId"
:condition="condition"
v-if="activeDom === 'right'"
@refresh="refreshAll"
@refresh="minderSaveRefresh"
ref="minder"/>
</ms-tab-button>
</el-tab-pane>
@ -695,6 +695,12 @@ export default {
this.$refs.nodeTree.list();
this.setTable(data);
},
minderSaveRefresh() {
if (this.$refs.testCaseList) {
this.$refs.testCaseList.initTableData();
}
this.$refs.nodeTree.list();
},
refreshPublic() {
if (this.$refs.testCasePublicList) {
this.$refs.testCasePublicList.initTableData([]);