Browse Source

优化体验

Minho 8 years ago
parent
commit
36708f3171
1 changed files with 2 additions and 0 deletions
  1. 2 0
      views/manager/setting.tpl

+ 2 - 0
views/manager/setting.tpl

@@ -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");
             }
         });
     });