Commit 202aa42b authored by 无木's avatar 无木

fix(table): editable cell display with validation

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

fixed: #953
parent 8d185bb5
...@@ -19,7 +19,7 @@ export const CellComponent: FunctionalComponent = ( ...@@ -19,7 +19,7 @@ export const CellComponent: FunctionalComponent = (
const Comp = componentMap.get(component) as typeof defineComponent; const Comp = componentMap.get(component) as typeof defineComponent;
const DefaultComp = h(Comp, attrs); const DefaultComp = h(Comp, attrs);
if (!rule || !popoverVisible) { if (!rule) {
return DefaultComp; return DefaultComp;
} }
return h( return h(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment