From 27cd89f3d4d496cc74c852f7fc0818f970379f25 Mon Sep 17 00:00:00 2001 From: hxr <1490493387@qq.com> Date: Wed, 9 Aug 2023 07:39:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20:bug:=20=E8=87=AA=E5=8A=A8=E5=AF=BC?= =?UTF-8?q?=E5=85=A5=E7=BC=BA=E5=A4=B1=E8=A1=A5=E5=85=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Former-commit-id: 0716786f7af165a844f858657bb897ce4cf579c3 --- src/types/auto-imports.d.ts | 13 ++++++------- src/types/components.d.ts | 26 ++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 7 deletions(-) diff --git a/src/types/auto-imports.d.ts b/src/types/auto-imports.d.ts index 4cd09b17..fd4e5fd8 100644 --- a/src/types/auto-imports.d.ts +++ b/src/types/auto-imports.d.ts @@ -5,9 +5,10 @@ export {} declare global { const EffectScope: typeof import("vue")["EffectScope"]; + const ElForm: typeof import("element-plus/es")["ElForm"]; const ElMessage: typeof import("element-plus/es")["ElMessage"]; const ElMessageBox: typeof import("element-plus/es")["ElMessageBox"]; - const ElNotification: typeof import("element-plus/es")["ElNotification"]; + const ElTree: typeof import("element-plus/es")["ElTree"]; const asyncComputed: typeof import("@vueuse/core")["asyncComputed"]; const autoResetRef: typeof import("@vueuse/core")["autoResetRef"]; const computed: typeof import("vue")["computed"]; @@ -296,15 +297,14 @@ import { UnwrapRef } from "vue"; declare module "vue" { interface ComponentCustomProperties { readonly EffectScope: UnwrapRef; + readonly ElForm: UnwrapRef; readonly ElMessage: UnwrapRef< typeof import("element-plus/es")["ElMessage"] >; readonly ElMessageBox: UnwrapRef< typeof import("element-plus/es")["ElMessageBox"] >; - readonly ElNotification: UnwrapRef< - typeof import("element-plus/es")["ElNotification"] - >; + readonly ElTree: UnwrapRef; readonly asyncComputed: UnwrapRef< typeof import("@vueuse/core")["asyncComputed"] >; @@ -943,15 +943,14 @@ declare module "vue" { declare module "@vue/runtime-core" { interface ComponentCustomProperties { readonly EffectScope: UnwrapRef; + readonly ElForm: UnwrapRef; readonly ElMessage: UnwrapRef< typeof import("element-plus/es")["ElMessage"] >; readonly ElMessageBox: UnwrapRef< typeof import("element-plus/es")["ElMessageBox"] >; - readonly ElNotification: UnwrapRef< - typeof import("element-plus/es")["ElNotification"] - >; + readonly ElTree: UnwrapRef; readonly asyncComputed: UnwrapRef< typeof import("@vueuse/core")["asyncComputed"] >; diff --git a/src/types/components.d.ts b/src/types/components.d.ts index fdf98558..0c1f773b 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -13,6 +13,7 @@ declare module "@vue/runtime-core" { BarChart: typeof import("./../views/dashboard/components/BarChart.vue")["default"]; Breadcrumb: typeof import("./../components/Breadcrumb/index.vue")["default"]; Dictionary: typeof import("./../components/Dictionary/index.vue")["default"]; + ElAlert: typeof import("element-plus/es")["ElAlert"]; ElBreadcrumb: typeof import("element-plus/es")["ElBreadcrumb"]; ElBreadcrumbItem: typeof import("element-plus/es")["ElBreadcrumbItem"]; ElButton: typeof import("element-plus/es")["ElButton"]; @@ -28,12 +29,18 @@ declare module "@vue/runtime-core" { ElDropdownMenu: typeof import("element-plus/es")["ElDropdownMenu"]; ElForm: typeof import("element-plus/es")["ElForm"]; ElFormItem: typeof import("element-plus/es")["ElFormItem"]; + ElIcon: typeof import("element-plus/es")["ElIcon"]; ElInput: typeof import("element-plus/es")["ElInput"]; + ElInputNumber: typeof import("element-plus/es")["ElInputNumber"]; ElLink: typeof import("element-plus/es")["ElLink"]; ElMenu: typeof import("element-plus/es")["ElMenu"]; ElMenuItem: typeof import("element-plus/es")["ElMenuItem"]; ElOption: typeof import("element-plus/es")["ElOption"]; ElPagination: typeof import("element-plus/es")["ElPagination"]; + ElPopover: typeof import("element-plus/es")["ElPopover"]; + ElRadio: typeof import("element-plus/es")["ElRadio"]; + ElRadioButton: typeof import("element-plus/es")["ElRadioButton"]; + ElRadioGroup: typeof import("element-plus/es")["ElRadioGroup"]; ElRate: typeof import("element-plus/es")["ElRate"]; ElRow: typeof import("element-plus/es")["ElRow"]; ElScrollbar: typeof import("element-plus/es")["ElScrollbar"]; @@ -42,17 +49,36 @@ declare module "@vue/runtime-core" { ElSwitch: typeof import("element-plus/es")["ElSwitch"]; ElTable: typeof import("element-plus/es")["ElTable"]; ElTableColumn: typeof import("element-plus/es")["ElTableColumn"]; + ElTabPane: typeof import("element-plus/es")["ElTabPane"]; + ElTabs: typeof import("element-plus/es")["ElTabs"]; ElTag: typeof import("element-plus/es")["ElTag"]; ElTooltip: typeof import("element-plus/es")["ElTooltip"]; + ElTree: typeof import("element-plus/es")["ElTree"]; + ElTreeSelect: typeof import("element-plus/es")["ElTreeSelect"]; + ElUpload: typeof import("element-plus/es")["ElUpload"]; FixedThead: typeof import("./../views/table/dynamic-table/components/FixedThead.vue")["default"]; FunnelChart: typeof import("./../views/dashboard/components/FunnelChart.vue")["default"]; GithubCorner: typeof import("./../components/GithubCorner/index.vue")["default"]; Hamburger: typeof import("./../components/Hamburger/index.vue")["default"]; IconSelect: typeof import("./../components/IconSelect/index.vue")["default"]; + IEpArrowDown: typeof import("~icons/ep/arrow-down")["default"]; IEpCaretBottom: typeof import("~icons/ep/caret-bottom")["default"]; + IEpCaretTop: typeof import("~icons/ep/caret-top")["default"]; IEpClose: typeof import("~icons/ep/close")["default"]; + IEpCollection: typeof import("~icons/ep/collection")["default"]; + IEpDelete: typeof import("~icons/ep/delete")["default"]; IEpDownload: typeof import("~icons/ep/download")["default"]; + IEpEdit: typeof import("~icons/ep/edit")["default"]; + IEpPlus: typeof import("~icons/ep/plus")["default"]; + IEpPosition: typeof import("~icons/ep/position")["default"]; + IEpRefresh: typeof import("~icons/ep/refresh")["default"]; + IEpRefreshLeft: typeof import("~icons/ep/refresh-left")["default"]; + IEpSearch: typeof import("~icons/ep/search")["default"]; IEpSetting: typeof import("~icons/ep/setting")["default"]; + IEpSortDown: typeof import("~icons/ep/sort-down")["default"]; + IEpSortUp: typeof import("~icons/ep/sort-up")["default"]; + IEpTop: typeof import("~icons/ep/top")["default"]; + IEpUploadFilled: typeof import("~icons/ep/upload-filled")["default"]; LangSelect: typeof import("./../components/LangSelect/index.vue")["default"]; Link: typeof import("./../layout/components/Sidebar/Link.vue")["default"]; Logo: typeof import("./../layout/components/Sidebar/Logo.vue")["default"];