From e06cd132bb6ea541bb0b7beb6daec5a2f27ac2f7 Mon Sep 17 00:00:00 2001 From: lavi <62757958+lavi27@users.noreply.github.com> Date: Mon, 15 Jan 2024 02:39:16 +0900 Subject: [PATCH] dump --- composables/useAPI.ts | 2 +- composables/useSocketAlert.ts | 1 - layouts/spinerWrap.vue | 2 +- pages/servers.vue | 2 +- 4 files changed, 3 insertions(+), 4 deletions(-) diff --git a/composables/useAPI.ts b/composables/useAPI.ts index a631c61..92c5880 100644 --- a/composables/useAPI.ts +++ b/composables/useAPI.ts @@ -200,7 +200,7 @@ export default () => { }, authCallback: async (code: string, isShowError: boolean = true) => { const res = await createDashboardAPI(isShowError).post(`/auth/callback`, { code }) - return + return res.data }, } diff --git a/composables/useSocketAlert.ts b/composables/useSocketAlert.ts index 9008b98..4b62edf 100644 --- a/composables/useSocketAlert.ts +++ b/composables/useSocketAlert.ts @@ -7,7 +7,6 @@ export default () => { const alertsData = useState('alertsData', () => []) onMounted(() => { - return //config.public.API_BASE_URL as string connection.value = io('https://ws-api.nguard.xyz/').connect() diff --git a/layouts/spinerWrap.vue b/layouts/spinerWrap.vue index 2162b67..f1bc004 100644 --- a/layouts/spinerWrap.vue +++ b/layouts/spinerWrap.vue @@ -14,7 +14,7 @@ const { loadingState } = useLoadingState()
-

+

{{ $t('common.loading') }}

diff --git a/pages/servers.vue b/pages/servers.vue index ee69514..849ec79 100644 --- a/pages/servers.vue +++ b/pages/servers.vue @@ -23,7 +23,7 @@ onMounted(async () => { }) -