From 01b667facfa0658194d4017724d844d8b69bea3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Mon, 20 Sep 2021 20:48:50 +0800 Subject: [PATCH] fix(form): fixed custom item style MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复自定义FormItem组件的内容宽度可能超出范围的问题 fixed: #1225 --- CHANGELOG.zh_CN.md | 1 + src/components/Form/src/components/FormItem.vue | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.zh_CN.md b/CHANGELOG.zh_CN.md index 4c4218c9..eac37a96 100644 --- a/CHANGELOG.zh_CN.md +++ b/CHANGELOG.zh_CN.md @@ -16,6 +16,7 @@ - 修复点击关闭按钮、最大化按钮旁边的空白区域也会导致`Modal`关闭的问题 - **BasicTree** 修复节点插槽不起作用的问题 - **CodeEditor** 修复可能会造成的`Build`失败的问题 +- **BasicForm** 修复自定义 FormItem 组件的内容宽度可能超出范围的问题 - **其它** - 修复多标签在某些情况下关闭页签不会跳转路由的问题 - 修复部分组件可能会造成热更新异常的问题 diff --git a/src/components/Form/src/components/FormItem.vue b/src/components/Form/src/components/FormItem.vue index 63074024..f728d588 100644 --- a/src/components/Form/src/components/FormItem.vue +++ b/src/components/Form/src/components/FormItem.vue @@ -340,7 +340,7 @@ wrapperCol={wrapperCol} >
-
{getContent()}
+
{getContent()}
{showSuffix && {getSuffix}}