Commit d1b71c84 by 刘海龙

111

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