code refactor

This commit is contained in:
MaysWind
2025-01-18 22:45:16 +08:00
parent 20e95e35aa
commit c675057ab1
17 changed files with 58 additions and 68 deletions
+4 -4
View File
@@ -25,15 +25,15 @@ import { useI18nUIComponents } from '@/lib/ui/mobile.ts';
import { useTransactionCategoriesStore } from '@/stores/transactionCategory.ts';
const props = defineProps<{
f7router: Router.Router;
}>();
const { tt } = useI18n();
const { showToast, routeBackOnError } = useI18nUIComponents();
const transactionCategoriesStore = useTransactionCategoriesStore();
const props = defineProps<{
f7router: Router.Router;
}>();
const loading = ref<boolean>(true);
const loadingError = ref<unknown | null>(null);