Commit ce14a013 by 冷斌

Merge remote-tracking branch 'origin/master'

parents 144a9415 7a04251c
......@@ -65,6 +65,9 @@
<div class="imgItem" @click="addImg('handset_view')">
<img :src="form.handset_view ? form.handset_view : upload_image3">
</div>
<!-- <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"/>
......@@ -176,7 +179,7 @@
this.auth2();
},
addImg: function (name) {
// layer.msg("修改已图片方法调用了");
layer.msg("修改已图片方法调用了");
this.uploadName = name;
if (this.uploadName === 'front_view') {
$("#file").click();
......@@ -189,7 +192,7 @@
}
},
upload: function () {
// layer.msg("上传图片方法调用了");
layer.msg("上传图片方法调用了");
let _this = this;
let saveName, id = '';
if (_this.uploadName === 'front_view') {
......
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