From 20d086249dc3afc841f5f4befcc2e494bd3f0b68 Mon Sep 17 00:00:00 2001 From: wutong25 Date: Thu, 20 Apr 2023 19:26:24 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/amis-editor/src/index.tsx | 4 ++-- packages/amis-editor/src/plugin/Divider.tsx | 2 +- packages/amis-editor/src/plugin/Panel.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/amis-editor/src/index.tsx b/packages/amis-editor/src/index.tsx index 068ff15fb..b97e96dde 100644 --- a/packages/amis-editor/src/index.tsx +++ b/packages/amis-editor/src/index.tsx @@ -12,6 +12,7 @@ import './plugin/Layout/Layout_sorption_container'; // 吸附容器 import './plugin/Layout/Layout_fixed'; // 悬浮容器 // import './plugin/Layout/Layout1_2_v4'; import './plugin/CollapseGroup'; // 折叠面板 +import './plugin/Panel'; // 面板 import './plugin/Tabs'; // 选项卡 // 数据容器 @@ -73,9 +74,7 @@ import './plugin/Nav'; // 导航 import './plugin/AnchorNav'; // 锚点导航 import './plugin/TooltipWrapper'; // 文字提示 import './plugin/Alert'; // 提示 -import './plugin/Divider'; // 分隔线 import './plugin/Wizard'; // 向导 -import './plugin/Panel'; // 面板 import './plugin/TableView'; // 表格视图 import './plugin/WebComponent'; import './plugin/Audio'; // 音频 @@ -114,6 +113,7 @@ import './plugin/Progress'; // 进度展示 import './plugin/Status'; // 状态展示 import './plugin/Steps'; // 步骤条 import './plugin/Timeline'; // 时间轴 +import './plugin/Divider'; // 分隔线 import './plugin/CodeView'; // 代码高亮 import './plugin/Markdown'; import './plugin/Collapse'; // 折叠器 diff --git a/packages/amis-editor/src/plugin/Divider.tsx b/packages/amis-editor/src/plugin/Divider.tsx index d3c5b1385..2f0bfffce 100644 --- a/packages/amis-editor/src/plugin/Divider.tsx +++ b/packages/amis-editor/src/plugin/Divider.tsx @@ -24,7 +24,7 @@ export class DividerPlugin extends BasePlugin { panelTitle = '分隔线'; panelJustify = true; - tags = ['功能']; + tags = ['展示']; panelBody = getSchemaTpl('tabs', [ { diff --git a/packages/amis-editor/src/plugin/Panel.tsx b/packages/amis-editor/src/plugin/Panel.tsx index 8e39421fb..a84da98ee 100644 --- a/packages/amis-editor/src/plugin/Panel.tsx +++ b/packages/amis-editor/src/plugin/Panel.tsx @@ -24,7 +24,7 @@ export class PanelPlugin extends BasePlugin { pluginIcon = 'panel-plugin'; description = '展示一个面板,可以配置标题,内容区。'; docLink = '/amis/zh-CN/components/panel'; - tags = ['功能']; + tags = ['布局容器']; scaffold = { type: 'panel', title: '标题',