migrate 2fa auth store to composition API and typescript

This commit is contained in:
MaysWind
2025-01-05 23:01:32 +08:00
parent 92a626fb21
commit 5b241d2547
4 changed files with 158 additions and 144 deletions
@@ -104,7 +104,7 @@
<script>
import { mapStores } from 'pinia';
import { useTwoFactorAuthStore } from '@/stores/twoFactorAuth.js';
import { useTwoFactorAuthStore } from '@/stores/twoFactorAuth.ts';
import { ClipboardHolder } from '@/lib/clipboard.ts';