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 44a3db284e
commit 37148e7c5c
1 changed files with 7 additions and 1 deletions

View File

@ -121,7 +121,7 @@
:project-id="projectId"
:condition="condition"
v-if="activeDom === 'right'"
@refresh="refreshAll"
@refresh="minderSaveRefresh"
ref="minder"/>
</ms-tab-button>
</el-tab-pane>
@ -696,6 +696,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([]);