Commit c9d0c6ce by 刘海龙

111

parent 1238dbf8
......@@ -138,6 +138,7 @@
}
},
upload: function () {
layer.msg("上传方法图片调用了");
let _this = this;
let saveName, id = '';
if (_this.uploadName === 'front_view') {
......@@ -169,14 +170,16 @@
} else {
if (_this.uploadName === 'front_view') {
_this.form.front_view = str.data.url;
$('#file').val('');
}
if (_this.uploadName === 'back_view') {
_this.form.back_view = str.data.url;
$('#file2').val('');
}
if (_this.uploadName === 'handset_view') {
_this.form.handset_view = str.data.url;
$('#file3').val('');
}
$event.target.value = null
_this.checkSubmit();
layer.close(loadingIndex);
}
......
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