From d0260041ce2adc1faeb8f9731bd55b1eb03cd069 Mon Sep 17 00:00:00 2001 From: tnt group Date: Thu, 29 Sep 2022 15:21:04 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=BC=95=E5=85=A5=20naiveui=20NCountdow?= =?UTF-8?q?n=20=E7=BB=84=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/naive.ts | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/plugins/naive.ts b/src/plugins/naive.ts index a1e03c3a..9354a285 100644 --- a/src/plugins/naive.ts +++ b/src/plugins/naive.ts @@ -1,4 +1,4 @@ -import type { App } from 'vue'; +import type { App } from 'vue' import { create, NA, @@ -8,6 +8,7 @@ import { NH3, NH4, NCode, + NCountdown, NText, NTime, NEllipsis, @@ -98,7 +99,7 @@ import { NWatermark, NEmpty, NCollapseTransition -} from 'naive-ui'; +} from 'naive-ui' const naive = create({ components: [ @@ -109,6 +110,7 @@ const naive = create({ NH3, NH4, NCode, + NCountdown, NText, NTime, NEllipsis, @@ -199,9 +201,9 @@ const naive = create({ NWatermark, NEmpty, NCollapseTransition - ], -}); + ] +}) export function setupNaive(app: App) { - app.use(naive); + app.use(naive) }