refactor(测试跟踪): 脑图用例保存后不刷新
--bug=1014144 --user=陈建星 【测试跟踪】脑图用例保存后跳转到模块级别,应停留在当前页面 https://www.tapd.cn/55049933/s/1183544
This commit is contained in:
parent
f5f272bd0e
commit
ba2d393c48
|
@ -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([]);
|
||||
|
|
Loading…
Reference in New Issue