fix(接口测试): 选中模块,切换公共用例库再回退,数据和模块选中显示不一致

--bug=1043922 --user=陈建星 【测试跟踪】 github#32043选中某节点后,点击公共用例库,点击返回,光标还是在某节点处停留,但是右侧用例显示的是所有用例。 https://www.tapd.cn/55049933/s/1565213
This commit is contained in:
AgAngle 2024-08-20 10:10:09 +08:00 committed by Craftsman
parent 472ac681c8
commit 0cc886c06d
1 changed files with 4 additions and 0 deletions

View File

@ -525,6 +525,10 @@ export default {
this.activeName = 'default'; this.activeName = 'default';
this.trashEnable = false; this.trashEnable = false;
this.publicEnable = false; this.publicEnable = false;
//
this.$router.push({
query: merge(this.$route.query, {'moduleId': 'root'})
});
}, },
enableTrash(data) { enableTrash(data) {
// //