added 适配蒙版时间

This commit is contained in:
zhaoxiang 2016-11-14 19:17:59 +08:00
parent 0b525a0af4
commit a4448808ce

View File

@ -117,7 +117,7 @@
} else {
message = data.msg;
}
$.alertMsg(message);
$.alertMsg(message, wait);
if( isRedirect ){
setTimeout(function() {
if (data.url) {
@ -134,7 +134,7 @@
}, wait);
}
} else {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
}
});
return false;
@ -161,14 +161,14 @@
} else {
message = data.msg;
}
$.alertMsg(message);
$.alertMsg(message, wait);
setTimeout(function() {
if (data.url) {
$.refresh(data.url);
}
}, wait);
} else {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
}
});
return false;
@ -203,14 +203,14 @@
}).done(function( data ) {
var wait = 1000*data.wait;
if (data.code == 1) {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
setTimeout(function() {
if (data.url) {
$.refresh(data.url);
}
}, wait);
} else {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
}
});
}
@ -249,14 +249,14 @@
}).done(function( data ) {
var wait = 1000*data.wait;
if (data.code == 1) {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
setTimeout(function() {
if (data.url) {
$.refresh(data.url);
}
}, wait);
} else {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
}
});
}
@ -294,14 +294,14 @@
} else {
message = data.msg;
}
$.alertMsg(message);
$.alertMsg(message, wait);
setTimeout(function() {
if (data.url) {
$.refresh(data.url);
}
}, wait);
} else {
$.alertMsg(data.msg);
$.alertMsg(data.msg, wait);
}
});
})