Commit e4e0e654 by 前端

增加照片命名方式

1 parent 67d66fd5
...@@ -145,7 +145,7 @@ export default { ...@@ -145,7 +145,7 @@ export default {
console.log(res); console.log(res);
let response = res.data; let response = res.data;
if (response.returnCode == 0) { if (response.returnCode == 0) {
_this.imgList.push({ path: response.data, name: params.fileName }); _this.imgList.push({ path: response.data, name: `照片${_this.imgList.length+1}` });
_this.previewList.push(res.data); _this.previewList.push(res.data);
console.log(_this.imgList); console.log(_this.imgList);
// //
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!