Преглед изворни кода

fix(password): change password

gemercheung пре 1 година
родитељ
комит
9ffa04497b
1 измењених фајлова са 1 додато и 3 уклоњено
  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)