Commit 54183e11 by chenyu

update: udpate

parent 58c243eb
......@@ -92,6 +92,7 @@ export default {
activityName: '',
activityExplain: '',
activityRemark: '',
activityImage: '',
activitySort: undefined
},
rules: {
......@@ -168,12 +169,12 @@ export default {
}
return true;
},
uploadOnSuccess({ res, file }) {
this.activityImage = res.result[ 0 ].qcloudImageUrl || '';
uploadOnSuccess({ res }) {
this.form.activityImage = res.result[ 0 ].qcloudImageUrl || '';
this.imageList = [ { url: res.result[ 0 ].qcloudImageUrl } ];
},
deleteImage() {
this.activityImage = '';
this.form.activityImage = '';
this.imageList = [];
},
},
......
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