From 6a6eb9afd64a428db57d4f99ede67e0f43c4488d Mon Sep 17 00:00:00 2001 From: Soybean Date: Fri, 7 Jun 2024 11:33:22 +0800 Subject: [PATCH] fix(projects): fix setupAppVersionNotification render --- src/plugins/app.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/app.ts b/src/plugins/app.ts index ffe6f586..8376c9e7 100644 --- a/src/plugins/app.ts +++ b/src/plugins/app.ts @@ -19,7 +19,7 @@ export function setupAppVersionNotification() { n?.destroy(); } }, - $t('system.updateCancel') + () => $t('system.updateCancel') ), h( NButton, @@ -29,7 +29,7 @@ export function setupAppVersionNotification() { location.reload(); } }, - $t('system.updateConfirm') + () => $t('system.updateConfirm') ) ]); }