Commit f169d7d9 by 刘海龙

1111

parent 7aa90756
...@@ -130,13 +130,13 @@ ...@@ -130,13 +130,13 @@
addImg: function (name) { addImg: function (name) {
this.uploadName = name; this.uploadName = name;
if (this.uploadName === 'front_view') { if (this.uploadName === 'front_view') {
$("#file").onchange(); $("#file").click();
} }
if (this.uploadName === 'back_view') { if (this.uploadName === 'back_view') {
$("#file2").onchange(); $("#file2").click();
} }
if (this.uploadName === 'handset_view') { if (this.uploadName === 'handset_view') {
$("#file3").onchange(); $("#file3").click();
} }
}, },
upload: function () { upload: function () {
......
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