From 2fc6d84dde144ca4058df52525fa8f1d5910f86b Mon Sep 17 00:00:00 2001 From: MoYi <1545929126@qq.com> Date: Mon, 20 Nov 2023 12:34:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EElementPlus=E7=9A=84=E5=BC=95?= =?UTF-8?q?=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components.d.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/components.d.ts b/components.d.ts index a415978..91401c0 100644 --- a/components.d.ts +++ b/components.d.ts @@ -7,11 +7,14 @@ export {} declare module 'vue' { export interface GlobalComponents { + ElButton: typeof import('element-plus/es')['ElButton'] + ElPagination: typeof import('element-plus/es')['ElPagination'] + ElTable: typeof import('element-plus/es')['ElTable'] + ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] RouterLink: typeof import('vue-router')['RouterLink'] RouterView: typeof import('vue-router')['RouterView'] VanButton: typeof import('vant/es')['Button'] VanCellGroup: typeof import('vant/es')['CellGroup'] - VanDivider: typeof import('vant/es')['Divider'] VanField: typeof import('vant/es')['Field'] VanImage: typeof import('vant/es')['Image'] VanPopup: typeof import('vant/es')['Popup']