fix(测试跟踪): 切换测试计划时搜索框内容未重置

--bug=1020389 --user=宋昌昌 【测试跟踪】-计划内用例列表搜索内容在不同测试计划间仍保留,影响用户体验 https://www.tapd.cn/55049933/s/1310981
This commit is contained in:
song-cc-rock 2022-12-02 13:42:13 +08:00
parent 76a0c31bc7
commit 6d096d1981
1 changed files with 3 additions and 0 deletions

View File

@ -125,6 +125,9 @@ export default {
this.openTestCaseEdit(to.path);
},
planId() {
if (this.condition.name) {
this.condition.name = undefined;
}
this.clearSelectNode();
this.initData();
}