fix(接口测试): mock参数设置不留痕

--bug=1020194 --user=宋天阳 [接口测试]
github#19929接口参数设置中添加函数后不点保存,点击下一个参数的小铅笔,历史函数不可消除,导致预览还会加上函数;重新进入场景编辑参数,无此问题
https://www.tapd.cn/55049933/s/1303468
This commit is contained in:
song-tianyang 2022-11-23 20:48:02 +08:00 committed by 建国
parent 7ffd3699b9
commit ec6ecc8e0a
1 changed files with 1 additions and 0 deletions

View File

@ -416,6 +416,7 @@ export default {
this.operatingElements = this.stepFilter.get('ALL'); this.operatingElements = this.stepFilter.get('ALL');
}, },
open() { open() {
this.itemValue = null;
if (this.scenarioDefinition != undefined) { if (this.scenarioDefinition != undefined) {
// //
this.ifFromVariableAdvance = true; this.ifFromVariableAdvance = true;