Collapse if-only-in-else to else-if (S6660)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -411,10 +411,8 @@ watch(
|
|||||||
if (newPwd.length < PWD_VALID_LENGTH) {
|
if (newPwd.length < PWD_VALID_LENGTH) {
|
||||||
isConfirmDisabled.value = true;
|
isConfirmDisabled.value = true;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (isResetPwdSectionShow.value && newPwd.length < PWD_VALID_LENGTH) {
|
||||||
if (isResetPwdSectionShow.value && newPwd.length < PWD_VALID_LENGTH) {
|
isConfirmDisabled.value = true;
|
||||||
isConfirmDisabled.value = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user