mirror of
https://gitee.com/dromara/go-view.git
synced 2025-04-06 03:58:04 +08:00
fix: 引入 naiveui NCountdown 组件
This commit is contained in:
parent
e3d5860a41
commit
d0260041ce
@ -1,4 +1,4 @@
|
|||||||
import type { App } from 'vue';
|
import type { App } from 'vue'
|
||||||
import {
|
import {
|
||||||
create,
|
create,
|
||||||
NA,
|
NA,
|
||||||
@ -8,6 +8,7 @@ import {
|
|||||||
NH3,
|
NH3,
|
||||||
NH4,
|
NH4,
|
||||||
NCode,
|
NCode,
|
||||||
|
NCountdown,
|
||||||
NText,
|
NText,
|
||||||
NTime,
|
NTime,
|
||||||
NEllipsis,
|
NEllipsis,
|
||||||
@ -98,7 +99,7 @@ import {
|
|||||||
NWatermark,
|
NWatermark,
|
||||||
NEmpty,
|
NEmpty,
|
||||||
NCollapseTransition
|
NCollapseTransition
|
||||||
} from 'naive-ui';
|
} from 'naive-ui'
|
||||||
|
|
||||||
const naive = create({
|
const naive = create({
|
||||||
components: [
|
components: [
|
||||||
@ -109,6 +110,7 @@ const naive = create({
|
|||||||
NH3,
|
NH3,
|
||||||
NH4,
|
NH4,
|
||||||
NCode,
|
NCode,
|
||||||
|
NCountdown,
|
||||||
NText,
|
NText,
|
||||||
NTime,
|
NTime,
|
||||||
NEllipsis,
|
NEllipsis,
|
||||||
@ -199,9 +201,9 @@ const naive = create({
|
|||||||
NWatermark,
|
NWatermark,
|
||||||
NEmpty,
|
NEmpty,
|
||||||
NCollapseTransition
|
NCollapseTransition
|
||||||
],
|
]
|
||||||
});
|
})
|
||||||
|
|
||||||
export function setupNaive(app: App<Element>) {
|
export function setupNaive(app: App<Element>) {
|
||||||
app.use(naive);
|
app.use(naive)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user