fix(接口测试): 上传csv文件名没复现

--bug=1010038--user=郭雨琦 【ID1010038】【接口测试】场景上传csv文件失败
This commit is contained in:
guoyuqi 2022-01-26 20:14:37 +08:00 committed by xiaomeinvG
parent 6ee6a530c2
commit f779e29a13
1 changed files with 9 additions and 0 deletions

View File

@ -307,6 +307,7 @@
},
updateParameters(v) {
this.editData = JSON.parse(JSON.stringify(v));
this.upDateFiles();
let datas = [];
this.variables.forEach(item => {
if(item.id === v.id){
@ -467,8 +468,16 @@
handleRowClick(row) {
//
this.editData = JSON.parse(JSON.stringify(row));
this.upDateFiles();
this.showDelete = true;
},
upDateFiles(){
this.variables.forEach(item => {
if(item.id === this.editData.id){
this.editData.files = item.files
}
});
}
}
};
</script>