fix(接口测试): 修复上传多个csv,切换时预览不变的缺陷

--bug=1013355 --user=王孝刚 【接口测试】github#13766,场景变量里添加多个CVS时,预览页的信息没有及时清空
https://www.tapd.cn/55049933/s/1162534
This commit is contained in:
wxg0103 2022-05-23 20:04:50 +08:00 committed by f2c-ci-robot[bot]
parent cab8495754
commit 6b017b52c0
1 changed files with 7 additions and 0 deletions

View File

@ -111,6 +111,13 @@
return !(this.editData.name && this.editData.name !== "");
}
},
watch: {
'editData.name': {
handler(v) {
this.handleClick();
}
}
},
methods: {
complete(results) {
if (results.errors && results.errors.length > 0) {