This commit is contained in:
XXAY
2021-10-08 17:55:53 +08:00
parent 3a0b85c799
commit 920581c4ae
4 changed files with 17 additions and 541 deletions
+12 -6
View File
@@ -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 () {