fix(测试跟踪): 功能用例回收站恢复后没有刷新用例列表数量统计
--bug=1015675 --user=陈建星 【测试跟踪】功能用例,从回收站回收用例,查看用例列表,左侧模块数未更新,需要手动刷新浏览器 https://www.tapd.cn/55049933/s/1219975
This commit is contained in:
parent
afa5b2f94c
commit
390ab910a3
|
@ -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