@@ -90,5 +90,8 @@ $("#updatePassword").on("input", (e) => {
});
$("#updateBtn").on("click", () => {
- alert("更新成功");
+ let classValue = $('#updateBtn').attr('class');
+ if (!classValue.includes('disabled')) {
+ alert("更新成功");
+ }