From cfbe379ee411990c932306f8cba889dc1fdc5322 Mon Sep 17 00:00:00 2001 From: handsomeFu Date: Fri, 30 Aug 2024 13:36:36 +0800 Subject: [PATCH] fix: correct button layout in English locale (#4277) Co-authored-by: vince --- .../layouts/src/widgets/check-updates/check-updates.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/effects/layouts/src/widgets/check-updates/check-updates.vue b/packages/effects/layouts/src/widgets/check-updates/check-updates.vue index ae36f994..4bd35cf4 100644 --- a/packages/effects/layouts/src/widgets/check-updates/check-updates.vue +++ b/packages/effects/layouts/src/widgets/check-updates/check-updates.vue @@ -61,7 +61,7 @@ async function checkForUpdates() { } function handleNotice(versionTag: string) { const { dismiss } = toast({ - action: h('div', [ + action: h('div', { class: 'inline-flex items-center' }, [ h( ToastAction, { @@ -94,7 +94,7 @@ function handleNotice(versionTag: string) { } function start() { - // 每5分钟检查一次 + // 每 checkUpdatesInterval(默认值为1) 分钟检查一次 timer.value = setInterval( checkForUpdates, props.checkUpdatesInterval * 60 * 1000,