From 7207f0d20c8e4abe3d95e2778d043a11133b9bd1 Mon Sep 17 00:00:00 2001 From: mengxiong10 <15623530290@163.com> Date: Mon, 13 Dec 2021 23:21:11 +0800 Subject: [PATCH] fix: DatePicker global component name --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index 30299a7..b94ab53 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -12,7 +12,7 @@ import { locale } from './locale'; const api = { locale, install: (app: App) => { - app.component('date-picker', DatePicker); + app.component('DatePicker', DatePicker); }, };