Commit bcc0c2c0 authored by 刘雅文's avatar 刘雅文

优化需求

parent 13d0826d
...@@ -203,7 +203,8 @@ export default { ...@@ -203,7 +203,8 @@ export default {
const key = file.file.name; const key = file.file.name;
const client = this.client; const client = this.client;
const that = this; const that = this;
client.multipartUpload('customer/feed/' + key, file.file) const timeNum=new Date().getTime();
client.multipartUpload('customer/feed/' +timeNum+'-'+key, file.file)
.then((res) => { .then((res) => {
console.log(res, '返回结果'); console.log(res, '返回结果');
const fileList = that.fileList; const fileList = that.fileList;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment