migrate settings store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-05 19:11:09 +08:00
parent 4f51480af9
commit 0e422b5a8f
62 changed files with 376 additions and 488 deletions
@@ -76,7 +76,7 @@
<script>
import { mapStores } from 'pinia';
import { useRootStore } from '@/stores/index.js';
import { useSettingsStore } from '@/stores/setting.js';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.js';
import { isDataExportingEnabled } from '@/lib/server_settings.ts';
+1 -1
View File
@@ -334,7 +334,7 @@
<script>
import { mapStores } from 'pinia';
import { useRootStore } from '@/stores/index.js';
import { useSettingsStore } from '@/stores/setting.js';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.js';
import { useAccountsStore } from '@/stores/account.js';
import { useOverviewStore } from '@/stores/overview.js';