Commit 702d78df by 刘海龙

1111

parent 50a5f52e
......@@ -200,6 +200,7 @@
if (_this.uploadName === 'front_view') {
id = 'file';
saveName = 'auth_' + uid + '_1';
_this.isFile = false
console.log(11111)
}
if (_this.uploadName === 'back_view') {
......@@ -211,7 +212,7 @@
saveName = 'auth_' + uid + '_3';
}
var loadingIndex = layer.load(2);
_this.isFile = false
$.ajaxFileUpload({
url: './index.php?g=Appapi&m=Auth&a=upload',
secureuri: false,
......@@ -229,6 +230,7 @@
layer.msg(msg);
} else {
if (_this.uploadName === 'front_view') {
console.log(1111)
_this.form.front_view = str.data.url;
_this.isFile = true
}
......
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