mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-10-22 03:47:26 +08:00
优化体验
This commit is contained in:
@@ -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");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user