Commit 0407d485 by 刘海龙

111

parent e879c1a7
...@@ -172,7 +172,7 @@ ...@@ -172,7 +172,7 @@
} else { } else {
if (_this.uploadName === 'front_view') { if (_this.uploadName === 'front_view') {
_this.form.front_view = str.data.url; _this.form.front_view = str.data.url;
$('#file').replaceWith('input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"'); $('#file').replaceWith('<input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload" />');
} }
if (_this.uploadName === 'back_view') { if (_this.uploadName === 'back_view') {
_this.form.back_view = str.data.url; _this.form.back_view = str.data.url;
......
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