migrate token store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-05 22:56:07 +08:00
parent 5171f23c09
commit 92a626fb21
8 changed files with 131 additions and 121 deletions
@@ -133,7 +133,7 @@ import { mapStores } from 'pinia';
import { useRootStore } from '@/stores/index.js';
import { useSettingsStore } from '@/stores/setting.ts';
import { useUserStore } from '@/stores/user.ts';
import { useTokensStore } from '@/stores/token.js';
import { useTokensStore } from '@/stores/token.ts';
import { isEquals } from '@/lib/common.ts';
import { parseSessionInfo } from '@/lib/session.ts';