fix(测试跟踪): 修复功能用例版本筛选左侧树统计错误问题
--bug=1024019 --user=赵勇 [测试跟踪]github#22412功能用例版本筛选后,模块统计数量错误 ( 右侧筛选后左侧模块树没有自动更新,需要手动刷新才更新) https://www.tapd.cn/55049933/s/1346323 Signed-off-by: fit2-zhao <yong.zhao@fit2cloud.com>
This commit is contained in:
parent
9aa3198c3c
commit
89b1673d5d
|
@ -504,7 +504,8 @@ export default {
|
||||||
this.$refs.trashNodeTree.list();
|
this.$refs.trashNodeTree.list();
|
||||||
this.hasRefreshDefault = false;
|
this.hasRefreshDefault = false;
|
||||||
},
|
},
|
||||||
refreshTreeByCaseFilter() {
|
refreshTreeByCaseFilter(currentVersion) {
|
||||||
|
this.condition.versionId = currentVersion || null;
|
||||||
if (this.publicEnable) {
|
if (this.publicEnable) {
|
||||||
this.$refs.publicNodeTree.list();
|
this.$refs.publicNodeTree.list();
|
||||||
} else if (this.trashEnable) {
|
} else if (this.trashEnable) {
|
||||||
|
|
|
@ -826,6 +826,7 @@ export default {
|
||||||
},
|
},
|
||||||
changeVersion(currentVersion) {
|
changeVersion(currentVersion) {
|
||||||
this.currentVersion = currentVersion || null;
|
this.currentVersion = currentVersion || null;
|
||||||
|
this.$emit('search',currentVersion);
|
||||||
},
|
},
|
||||||
toggleAdvanceSearch() {
|
toggleAdvanceSearch() {
|
||||||
this.$refs.advanceSearch.toggle();
|
this.$refs.advanceSearch.toggle();
|
||||||
|
|
Loading…
Reference in New Issue