From cfe883e902c0f1405b1b69252ebb08e314dd679b Mon Sep 17 00:00:00 2001 From: Megghy Date: Tue, 28 Nov 2023 20:55:40 +0800 Subject: [PATCH] update alert --- src/api/api-models.ts | 1 + src/views/ManageLayout.vue | 7 ++++--- src/views/manage/DashboardView.vue | 5 +++++ src/views/manage/EventView.vue | 8 ++++++-- 4 files changed, 16 insertions(+), 5 deletions(-) diff --git a/src/api/api-models.ts b/src/api/api-models.ts index 1313e67..598897d 100644 --- a/src/api/api-models.ts +++ b/src/api/api-models.ts @@ -44,6 +44,7 @@ export interface AccountInfo extends UserInfo { eventFetcherStatus: string nextSendEmailTime?: number + isServerFetcherOnline:boolean } export enum BiliAuthCodeStatusType { NotBind, diff --git a/src/views/ManageLayout.vue b/src/views/ManageLayout.vue index e62364f..6cc67d0 100644 --- a/src/views/ManageLayout.vue +++ b/src/views/ManageLayout.vue @@ -193,7 +193,7 @@ const menuOptions = [ target: '_blank', type: 'info', }, - '此文章' + () => '此文章' ), '), 虽然本站已经针对此问题做出了处理, 一般情况下即使掉线了也会重连, 不过还是有可能会遗漏事件', h('br'), @@ -208,7 +208,7 @@ const menuOptions = [ href: 'https://www.yuque.com/megghy/dez70g/vfvcyv3024xvaa1p', target: '_blank', }, - 'VtsuruEventFetcher' + () => 'VtsuruEventFetcher' ), ', 否则请在使用功能时尽量保持网页在前台运行', ]) @@ -249,7 +249,8 @@ const menuOptions = [ key: 'manage-songRequest', icon: renderIcon(MusicalNote), //disabled: accountInfo.value?.isEmailVerified == false, - },{ + }, + { label: () => h( RouterLink, diff --git a/src/views/manage/DashboardView.vue b/src/views/manage/DashboardView.vue index 136054f..38ada44 100644 --- a/src/views/manage/DashboardView.vue +++ b/src/views/manage/DashboardView.vue @@ -177,6 +177,11 @@ async function ChangeBili() {