Browse Source

fix(password): change password

gemercheung 1 năm trước cách đây
mục cha
commit
9ffa04497b
1 tập tin đã thay đổi với 1 bổ sung3 xóa
  1. 1 3
      src/view/users-password-edit.vue

+ 1 - 3
src/view/users-password-edit.vue

@@ -155,7 +155,7 @@ const getCheckCode = async () => {
   if (res.success) {
     ElMessage.success(res.data);
   }
-  if (checkCodeBtn.duration !== 60) {
+  if (checkCodeBtn.duration == 60) {
     checkCodeBtn.disabled = true
   }
   // 清除掉定时器
@@ -176,9 +176,7 @@ const getCheckCode = async () => {
   }, 1000)
 }
 
-const getMsgCode = async () => {
 
-}
 
 // const handleSelect = (orgId: number) => {
 //   const item = Array.from(allOrgs.value).find(i => i.id === orgId)