mirror of
https://github.com/mayswind/ezbookkeeping.git
synced 2026-05-15 23:47:33 +08:00
code refactor
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user