mirror of https://github.com/mindoc-org/mindoc.git
优化体验
parent
22cfd7ddec
commit
36708f3171
|
@ -117,12 +117,14 @@
|
|||
if (title === ""){
|
||||
return showError("网站标题不能为空");
|
||||
}
|
||||
$("#btnSaveBookInfo").button("loading");
|
||||
},success : function (res) {
|
||||
if(res.errcode === 0) {
|
||||
showSuccess("保存成功")
|
||||
}else{
|
||||
showError(res.message);
|
||||
}
|
||||
$("#btnSaveBookInfo").button("reset");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue