按钮加loding框
This commit is contained in:
@@ -115,6 +115,7 @@ new Vue({
|
||||
$.toast("请输入6位以上数字或字母");
|
||||
return;
|
||||
}
|
||||
plus.nativeUI.showWaiting();
|
||||
axios.post("/rest/user/upass", {newPass: $.md5(this.pass)})
|
||||
.then(function (response) {
|
||||
var resData = response.data;
|
||||
@@ -124,9 +125,11 @@ new Vue({
|
||||
} else {
|
||||
$.toast(resData.message);
|
||||
}
|
||||
plus.nativeUI.closeWaiting();
|
||||
})
|
||||
.catch(function (error) {
|
||||
$.toast(error);
|
||||
plus.nativeUI.closeWaiting();
|
||||
});
|
||||
},
|
||||
/* 密码显示&隐藏 */
|
||||
|
||||
Reference in New Issue
Block a user