From 5d44f9e23124f05b0906efd754ba7f8fac1f7cdd Mon Sep 17 00:00:00 2001 From: Ai3_刘小龙 <wisty0317@163.com> Date: 星期三, 20 十二月 2023 14:26:49 +0800 Subject: [PATCH] update src/views/system/dept/index.vue. append-to-body --- src/types/element.d.ts | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/types/element.d.ts b/src/types/element.d.ts index e8d1f62..6a7bdef 100644 --- a/src/types/element.d.ts +++ b/src/types/element.d.ts @@ -1,12 +1,13 @@ import type * as ep from 'element-plus'; declare global { declare type ElTagType = '' | 'success' | 'warning' | 'info' | 'danger' | 'default' | 'primary'; - declare type ElFormInstance = InstanceType<typeof ep.ElForm>; - declare type ElTableInstance = InstanceType<typeof ep.ElTable>; + declare type ElFormInstance = ep.FormInstance; + declare type ElTableInstance = ep.TableInstance; + declare type ElUploadInstance = ep.UploadInstance; + declare type ElScrollbarInstance = ep.ScrollbarInstance; declare type ElTreeInstance = InstanceType<typeof ep.ElTree>; declare type ElTreeSelectInstance = InstanceType<typeof ep.ElTreeSelect>; declare type ElSelectInstance = InstanceType<typeof ep.ElSelect>; - declare type ElUploadInstance = InstanceType<typeof ep.ElUpload>; declare type ElCardInstance = InstanceType<typeof ep.ElCard>; declare type ElDialogInstance = InstanceType<typeof ep.ElDialog>; declare type ElInputInstance = InstanceType<typeof ep.ElInput>; @@ -24,8 +25,6 @@ declare type ElColorPickerInstance = InstanceType<typeof ep.ElColorPicker>; declare type ElRateInstance = InstanceType<typeof ep.ElRate>; declare type ElSliderInstance = InstanceType<typeof ep.ElSlider>; - declare type ElUploadInstance = InstanceType<typeof ep.ElUpload>; - declare type ElScrollbarInstance = InstanceType<typeof ep.ElScrollbar>; declare type TransferKey = ep.TransferKey; declare type CheckboxValueType = ep.CheckboxValueType; -- Gitblit v1.9.3