mirror of
https://github.com/Megghy/vtsuru.live.git
synced 2025-12-07 02:46:55 +08:00
feat: 替换认证存储逻辑为BiliAuth
- 将所有使用useAuthStore的地方替换为useBiliAuth - 删除useAuthStore文件,整合认证逻辑 - 更新相关视图和组件以适应新的认证存储
This commit is contained in:
@@ -11,7 +11,7 @@ import {
|
||||
import AddressDisplay from '@/components/manage/AddressDisplay.vue'
|
||||
import PointGoodsItem from '@/components/manage/PointGoodsItem.vue'
|
||||
import { POINT_API_URL } from '@/data/constants'
|
||||
import { useAuthStore } from '@/store/useAuthStore'
|
||||
import { useBiliAuth } from '@/store/useBiliAuth'
|
||||
import {
|
||||
NAlert,
|
||||
NButton,
|
||||
@@ -43,7 +43,7 @@ const props = defineProps<{
|
||||
}>()
|
||||
const router = useRouter()
|
||||
|
||||
const useAuth = useAuthStore()
|
||||
const useAuth = useBiliAuth()
|
||||
// 移除未使用的 accountInfo
|
||||
const isLoading = ref(false)
|
||||
const message = useMessage()
|
||||
|
||||
Reference in New Issue
Block a user