Commit a1c9ea46 by 刘海龙

1111

parent 3047bea1
......@@ -157,6 +157,7 @@
saveName = 'auth_' + uid + '_3';
}
var loadingIndex = layer.load(2);
$(document).off('change',id).on('change',id,function(){
$.ajaxFileUpload({
url: './index.php?g=Appapi&m=Auth&a=upload',
secureuri: false,
......@@ -173,15 +174,12 @@
} else {
if (_this.uploadName === 'front_view') {
_this.form.front_view = str.data.url;
$(document).off('change','#file').on('change','#file');
}
if (_this.uploadName === 'back_view') {
_this.form.back_view = str.data.url;
$(document).off('change','#file1').on('change','#file1');
}
if (_this.uploadName === 'handset_view') {
_this.form.handset_view = str.data.url;
$(document).off('change','#file2').on('change','#file2');
}
_this.checkSubmit();
layer.close(loadingIndex);
......@@ -192,6 +190,7 @@
console.log(data);
}
});
});
},
submit: function () {
let data = this.form;
......
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