|
@@ -497,8 +497,8 @@ export default {
|
|
|
addPhotoToDB(form).then((resData) => {
|
|
addPhotoToDB(form).then((resData) => {
|
|
|
if (resData.code == 200) {
|
|
if (resData.code == 200) {
|
|
|
console.log(resData);
|
|
console.log(resData);
|
|
|
- res.data.fileId = resData.data.fileId;
|
|
|
|
|
- this.normalFlow(res);
|
|
|
|
|
|
|
+ res.data.fileId = resData.data[0].fileId;
|
|
|
|
|
+ this.normalFlow([res]);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
}
|
|
}
|