if (result.indexOf('collection') < 0) {
layer.closeAll('loading');
layer.msg("上传成功!", {
time: 1000
}, function () {
window.location.reload();
});
} else {
layer.closeAll('loading');
layer.msg(result.collection.error.message);
}
js ajax返回判断
最新推荐文章于 2023-02-22 12:05:16 发布