migrate root store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-20 00:33:22 +08:00
parent 929d3febb0
commit 559e8259be
22 changed files with 618 additions and 556 deletions
@@ -331,7 +331,7 @@
<script>
import { mapStores } from 'pinia';
import { useRootStore } from '@/stores/index.js';
import { useRootStore } from '@/stores/index.ts';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.ts';
import { useAccountsStore } from '@/stores/account.ts';