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
@@ -98,9 +98,7 @@ const pinCode = ref<string>('');
const enablingWebAuthn = ref<boolean>(false);
const transactionsStore = useTransactionsStore();
const pinCodeValid = computed<boolean>(() => {
return pinCode.value?.length === 6 || false;
});
const pinCodeValid = computed<boolean>(() => pinCode.value?.length === 6 || false);
function confirm(): void {
if (isEnableApplicationLock.value) {