fix(测试跟踪): 功能用例回收站恢复后没有刷新用例列表数量统计
--bug=1015675 --user=陈建星 【测试跟踪】功能用例,从回收站回收用例,查看用例列表,左侧模块数未更新,需要手动刷新浏览器 https://www.tapd.cn/55049933/s/1219975
This commit is contained in:
parent
02523e4ef0
commit
8c14a3871d
|
@ -277,6 +277,7 @@ export default {
|
|||
versionEnable: false,
|
||||
isAsideHidden: true,
|
||||
ignoreTreeNodes: false,
|
||||
hasRefreshDefault: true
|
||||
};
|
||||
},
|
||||
created() {
|
||||
|
@ -317,6 +318,13 @@ export default {
|
|||
if (oldVal !== 'default' && newVal === 'default' && this.$refs.minder) {
|
||||
this.$refs.minder.refresh();
|
||||
}
|
||||
if (oldVal === 'trash' && newVal === 'default') {
|
||||
// 在回收站恢复后,切到列表页面刷新
|
||||
if (!this.hasRefreshDefault) {
|
||||
this.refreshAll();
|
||||
this.hasRefreshDefault = true;
|
||||
}
|
||||
}
|
||||
},
|
||||
activeDom(newVal, oldVal) {
|
||||
this.$nextTick(() => {
|
||||
|
@ -693,6 +701,7 @@ export default {
|
|||
},
|
||||
refreshTrashNode() {
|
||||
this.$refs.trashNodeTree.list();
|
||||
this.hasRefreshDefault = false;
|
||||
},
|
||||
refreshTreeByCaseFilter() {
|
||||
if (this.publicEnable) {
|
||||
|
|
Loading…
Reference in New Issue