Skip to content

Commit

Permalink
chore: update plugins/elementPlus.ts (#1164)
Browse files Browse the repository at this point in the history
  • Loading branch information
QFifteen authored Jun 7, 2024
1 parent edf82ea commit 8816e61
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/plugins/elementPlus.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ import {
ElWatermark,
ElTour,
ElTourStep,
ElSegmented,
/**
* 为了方便演示平台将 element-plus 导出的所有插件引入,实际使用中如果你没用到哪个插件,将其注释掉就行
* 导出来源:https://github.com/element-plus/element-plus/blob/dev/packages/element-plus/plugin.ts#L11-L16
Expand Down Expand Up @@ -221,7 +222,8 @@ const components = [
ElUpload,
ElWatermark,
ElTour,
ElTourStep
ElTourStep,
ElSegmented
];

const plugins = [
Expand Down
1 change: 1 addition & 0 deletions types/global-components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ declare module "vue" {
ElWatermark: (typeof import("element-plus"))["ElWatermark"];
ElTour: (typeof import("element-plus"))["ElTour"];
ElTourStep: (typeof import("element-plus"))["ElTourStep"];
ElSegmented: (typeof import("element-plus"))["ElSegmented"];
}

interface ComponentCustomProperties {
Expand Down

0 comments on commit 8816e61

Please sign in to comment.