From 202aa42b8d5a94e84ad386bcf7feab96926c70dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=A0=E6=9C=A8?= Date: Fri, 23 Jul 2021 01:18:55 +0800 Subject: [PATCH] fix(table): editable cell display with validation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修复带验证的可编辑表格的组件意外失焦的问题 fixed: #953 --- src/components/Table/src/components/editable/CellComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Table/src/components/editable/CellComponent.ts b/src/components/Table/src/components/editable/CellComponent.ts index d2a259867..897954f0a 100644 --- a/src/components/Table/src/components/editable/CellComponent.ts +++ b/src/components/Table/src/components/editable/CellComponent.ts @@ -19,7 +19,7 @@ export const CellComponent: FunctionalComponent = ( const Comp = componentMap.get(component) as typeof defineComponent; const DefaultComp = h(Comp, attrs); - if (!rule || !popoverVisible) { + if (!rule) { return DefaultComp; } return h(