mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
added 适配蒙版时间
This commit is contained in:
parent
0b525a0af4
commit
a4448808ce
@ -117,7 +117,7 @@
|
|||||||
} else {
|
} else {
|
||||||
message = data.msg;
|
message = data.msg;
|
||||||
}
|
}
|
||||||
$.alertMsg(message);
|
$.alertMsg(message, wait);
|
||||||
if( isRedirect ){
|
if( isRedirect ){
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (data.url) {
|
if (data.url) {
|
||||||
@ -134,7 +134,7 @@
|
|||||||
}, wait);
|
}, wait);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
@ -161,14 +161,14 @@
|
|||||||
} else {
|
} else {
|
||||||
message = data.msg;
|
message = data.msg;
|
||||||
}
|
}
|
||||||
$.alertMsg(message);
|
$.alertMsg(message, wait);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (data.url) {
|
if (data.url) {
|
||||||
$.refresh(data.url);
|
$.refresh(data.url);
|
||||||
}
|
}
|
||||||
}, wait);
|
}, wait);
|
||||||
} else {
|
} else {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
return false;
|
return false;
|
||||||
@ -203,14 +203,14 @@
|
|||||||
}).done(function( data ) {
|
}).done(function( data ) {
|
||||||
var wait = 1000*data.wait;
|
var wait = 1000*data.wait;
|
||||||
if (data.code == 1) {
|
if (data.code == 1) {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (data.url) {
|
if (data.url) {
|
||||||
$.refresh(data.url);
|
$.refresh(data.url);
|
||||||
}
|
}
|
||||||
}, wait);
|
}, wait);
|
||||||
} else {
|
} else {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -249,14 +249,14 @@
|
|||||||
}).done(function( data ) {
|
}).done(function( data ) {
|
||||||
var wait = 1000*data.wait;
|
var wait = 1000*data.wait;
|
||||||
if (data.code == 1) {
|
if (data.code == 1) {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (data.url) {
|
if (data.url) {
|
||||||
$.refresh(data.url);
|
$.refresh(data.url);
|
||||||
}
|
}
|
||||||
}, wait);
|
}, wait);
|
||||||
} else {
|
} else {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@ -294,14 +294,14 @@
|
|||||||
} else {
|
} else {
|
||||||
message = data.msg;
|
message = data.msg;
|
||||||
}
|
}
|
||||||
$.alertMsg(message);
|
$.alertMsg(message, wait);
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
if (data.url) {
|
if (data.url) {
|
||||||
$.refresh(data.url);
|
$.refresh(data.url);
|
||||||
}
|
}
|
||||||
}, wait);
|
}, wait);
|
||||||
} else {
|
} else {
|
||||||
$.alertMsg(data.msg);
|
$.alertMsg(data.msg, wait);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user