浏览代码

优化体验

Minho 8 年之前
父节点
当前提交
36708f3171
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      views/manager/setting.tpl

+ 2 - 0
views/manager/setting.tpl

@@ -117,12 +117,14 @@
                 if (title === ""){
                 if (title === ""){
                     return showError("网站标题不能为空");
                     return showError("网站标题不能为空");
                 }
                 }
+                $("#btnSaveBookInfo").button("loading");
             },success : function (res) {
             },success : function (res) {
                 if(res.errcode === 0) {
                 if(res.errcode === 0) {
                     showSuccess("保存成功")
                     showSuccess("保存成功")
                 }else{
                 }else{
                     showError(res.message);
                     showError(res.message);
                 }
                 }
+                $("#btnSaveBookInfo").button("reset");
             }
             }
         });
         });
     });
     });