Commit 401093f1 by 冷斌

fix bug

parent 217ffb1f
......@@ -43,14 +43,9 @@
:class="[form.handset_view ? 'zhengjz' : 'addTipsimg']">
<div v-show="form.handset_view ? false : true" class="addTips_wz">手持证件照</div>
</div>
<input id="file" name="image" type="file" style="display: none;" class="upload" accept="image/*" @change="upload"/>
<input id="file2" name="image" type="file" style="display: none;" class="upload" accept="image/*" @change="upload"/>
<input id="file3" name="image" type="file" style="display: none;" class="upload" accept="image/*" @change="upload"/>
<!-- <input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>-->
<!-- <input id="file2" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>-->
<!-- <input id="file3" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>-->
<input id="file" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file2" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
<input id="file3" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload"/>
</div>
<!-- 按钮 -->
......@@ -80,9 +75,6 @@
back_view: '',
handset_view: ''
},
front_view: '',
back_view: '',
handset_view: '',
uploadName: '',
isSubmit: true,
upload_image: '__PUBLIC__/appapi/img/add_r@2x.png',
......@@ -174,15 +166,12 @@
var str = JSON.parse(data);
if (_this.uploadName === 'front_view') {
_this.form.front_view = str.data.url;
_this.front_view = str.data.url;
}
if (_this.uploadName === 'back_view') {
_this.form.back_view = str.data.url;
_this.back_view = str.data.url;
}
if (_this.uploadName === 'handset_view') {
_this.form.handset_view = str.data.url;
_this.handset_view = str.data.url;
}
_this.checkSubmit();
$('#'+id).val('');
......
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