Commit 1925443e by 刘海龙

111

parent 7ab8e036
...@@ -43,9 +43,9 @@ ...@@ -43,9 +43,9 @@
:class="[form.handset_view ? 'zhengjz' : 'addTipsimg']"> :class="[form.handset_view ? 'zhengjz' : 'addTipsimg']">
<div v-show="form.handset_view ? false : true" class="addTips_wz">手持证件照</div> <div v-show="form.handset_view ? false : true" class="addTips_wz">手持证件照</div>
</div> </div>
<!-- <input id="file" 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="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="file3" name="image" type="file" v-show="false" class="upload" accept="image/*" @change="upload" />
</div> </div>
<!-- 按钮 --> <!-- 按钮 -->
...@@ -127,16 +127,15 @@ ...@@ -127,16 +127,15 @@
}, },
addImg: function (name) { addImg: function (name) {
this.uploadName = name; this.uploadName = name;
// if (this.uploadName === 'front_view') { if (this.uploadName === 'front_view') {
// $("#file").click(); $("#file").click();
// } }
// if (this.uploadName === 'back_view') { if (this.uploadName === 'back_view') {
// $("#file2").click(); $("#file2").click();
// } }
// if (this.uploadName === 'handset_view') { if (this.uploadName === 'handset_view') {
// $("#file3").click(); $("#file3").click();
// } }
this.upload()
}, },
upload: function () { upload: function () {
let _this = this; let _this = this;
......
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