fix (接口自动化): 修复插件附件上传失效问题
This commit is contained in:
parent
3fe9a65c9b
commit
41f8546dae
|
@ -75,7 +75,7 @@ export function saveScenario(url, scenario, scenarioDefinition, _this,success) {
|
||||||
if (_this.$store.state.pluginFiles && _this.$store.state.pluginFiles.length > 0) {
|
if (_this.$store.state.pluginFiles && _this.$store.state.pluginFiles.length > 0) {
|
||||||
_this.$store.state.pluginFiles.forEach(fileItem => {
|
_this.$store.state.pluginFiles.forEach(fileItem => {
|
||||||
if (fileItem.file) {
|
if (fileItem.file) {
|
||||||
scenario.bodyFileRequestIds.push(fileItem.file.id);
|
scenario.bodyFileRequestIds.push(fileItem.file.uid);
|
||||||
bodyFiles.push(fileItem.file);
|
bodyFiles.push(fileItem.file);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue