提交 202aa42b 作者: 无木

fix(table): editable cell display with validation

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

fixed: #953
上级 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 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论