Commit 702d78df by 刘海龙

1111

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