Commit 85e58daf authored by zhengke's avatar zhengke

修改上传

parent cc9ba6d1
......@@ -548,9 +548,9 @@ export default {
newArr.push(file.file)
let path = "/Upload/activity/"
this.$message.info('上传中...')
this.uploadFile(path, newArr, x => {
this.UploadSelfFile(path, newArr, x => {
let fileSize = file.file.size<1024? file.file.size:(file.file.size / 1024).toFixed(0);
this.addMsg.image = x.res.requestUrls[0].split('?')[0]
this.addMsg.image = this.domainManager().ViittoFileUrl + x.data.FilePath;
this.$message.success('上传成功');
this.$forceUpdate();
});
......
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