Browse Source

fix(password): change password

gemercheung 1 year ago
parent
commit
9ffa04497b
1 changed files with 1 additions and 3 deletions
  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) {
   if (res.success) {
     ElMessage.success(res.data);
     ElMessage.success(res.data);
   }
   }
-  if (checkCodeBtn.duration !== 60) {
+  if (checkCodeBtn.duration == 60) {
     checkCodeBtn.disabled = true
     checkCodeBtn.disabled = true
   }
   }
   // 清除掉定时器
   // 清除掉定时器
@@ -176,9 +176,7 @@ const getCheckCode = async () => {
   }, 1000)
   }, 1000)
 }
 }
 
 
-const getMsgCode = async () => {
 
 
-}
 
 
 // const handleSelect = (orgId: number) => {
 // const handleSelect = (orgId: number) => {
 //   const item = Array.from(allOrgs.value).find(i => i.id === orgId)
 //   const item = Array.from(allOrgs.value).find(i => i.id === orgId)