From fbff4d8a221efe56112430df8e55a57413d5cef8 Mon Sep 17 00:00:00 2001 From: Megghy Date: Wed, 13 Mar 2024 01:04:40 +0800 Subject: [PATCH] fix point load --- src/components/manage/PointHistoryCard.vue | 1 - src/views/pointViews/PointUserLayout.vue | 13 ++++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/src/components/manage/PointHistoryCard.vue b/src/components/manage/PointHistoryCard.vue index 3448dc0..f6b9754 100644 --- a/src/components/manage/PointHistoryCard.vue +++ b/src/components/manage/PointHistoryCard.vue @@ -119,7 +119,6 @@ const historyColumn: DataTableColumns = [ target: '_blank', text: true, type: 'info', - secondary: true, }, () => row.extra.user?.name, ), diff --git a/src/views/pointViews/PointUserLayout.vue b/src/views/pointViews/PointUserLayout.vue index f913b25..b1df01a 100644 --- a/src/views/pointViews/PointUserLayout.vue +++ b/src/views/pointViews/PointUserLayout.vue @@ -117,16 +117,13 @@ onMounted(async () => { await useAuth.getAuthInfo() isLoading.value = false } - if (biliAuth.value.id >= 0) { - points.value = await getAllPoints() - } })