code refactor

This commit is contained in:
MaysWind
2025-01-21 23:47:22 +08:00
parent e053528abf
commit 58097331da
12 changed files with 19 additions and 56 deletions
+1 -3
View File
@@ -50,9 +50,7 @@ const { tt } = useI18n();
const currentPinCode = ref<string>('');
const currentPinCodeValid = computed<boolean>(() => {
return currentPinCode.value?.length === 6 || false;
});
const currentPinCodeValid = computed<boolean>(() => currentPinCode.value?.length === 6 || false);
function confirm(): void {
if (!currentPinCodeValid.value || props.confirmDisabled) {