code refactor

This commit is contained in:
MaysWind
2025-01-12 01:04:19 +08:00
parent b517409229
commit 9bbe4d2dcf
3 changed files with 10 additions and 10 deletions
@@ -105,7 +105,7 @@ const transactionTagsStore = useTransactionTagsStore();
const selectedItemIds = ref<string[]>(copyArrayTo(props.modelValue, []));
const newTag = ref<TransactionTag | null>(null);
const allTags = computed(() => transactionTagsStore.allTransactionTags);
const allTags = computed<TransactionTag[]>(() => transactionTagsStore.allTransactionTags);
const noAvailableTag = computed<boolean>(() => {
if (transactionTagsStore.allTransactionTags) {