fix(table): editable cell display with validation

修复带验证的可编辑表格的组件意外失焦的问题

fixed: #953
This commit is contained in:
无木 2021-07-23 01:18:55 +08:00
parent 8d185bb584
commit 202aa42b8d

View File

@ -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(