tools
This commit is contained in:
@@ -219,13 +219,19 @@
|
||||
|
||||
},
|
||||
success: function (res) {
|
||||
console.log("run")
|
||||
k = k + 1;
|
||||
$("#img_box").empty()
|
||||
var L = '<img src="' + res.img + '" alt="aa" style="height: 90%">';
|
||||
$("#img_box").prepend(L);
|
||||
|
||||
layer.closeAll('loading');
|
||||
console.log("run")
|
||||
if (res.ba === "0") {
|
||||
k = k + 1;
|
||||
$("#img_box").empty()
|
||||
var L = '<img src="' + res.img + '" alt="aa" style="height: 90%">';
|
||||
$("#img_box").prepend(L);
|
||||
|
||||
layer.closeAll('loading');
|
||||
} else {
|
||||
layer.alert(res.ba, {icon: 6});
|
||||
}
|
||||
|
||||
|
||||
},
|
||||
error: function () {
|
||||
|
||||
Reference in New Issue
Block a user