mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): 上传csv文件名没复现
--bug=1010038--user=郭雨琦 【ID1010038】【接口测试】场景上传csv文件失败
This commit is contained in:
parent
6ee6a530c2
commit
f779e29a13
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user