fix(测试计划): 批量编辑未清空上次数据问题

--bug=1042166 --user=王旭 【测试计划】接口测试用例-批量编辑-批量编辑运行环境-关联新的用例进来-批量编辑新的用例也显示编辑过的那个环境 https://www.tapd.cn/55049933/s/1625649
This commit is contained in:
WangXu10 2024-12-05 13:44:16 +08:00 committed by Craftsman
parent b9973e66fa
commit b3034919c1
1 changed files with 1 additions and 0 deletions

View File

@ -430,6 +430,7 @@ export default {
}, },
changeType(val) { changeType(val) {
this.showDescription = false; this.showDescription = false;
this.projectEnvDescMap = {};
if (val && val.startsWith("custom")) { if (val && val.startsWith("custom")) {
this._handleCustomField(val); this._handleCustomField(val);
} }