Commit 582d7e7351e2e3613d99745c3b258ffa8e103695
Committed by
GitHub
1 parent
ca487426
fix: table cell edit bug. (#2465)
Showing
1 changed file
with
2 additions
and
3 deletions
src/components/Table/src/components/editable/EditableCell.vue
@@ -404,9 +404,8 @@ | @@ -404,9 +404,8 @@ | ||
404 | column: this.column, | 404 | column: this.column, |
405 | index: this.index, | 405 | index: this.index, |
406 | }) | 406 | }) |
407 | - : this.getValues | ||
408 | - ? this.getValues | ||
409 | - : '\u00A0'} | 407 | + : (this.getValues ?? "\u00A0") |
408 | + } | ||
410 | </div> | 409 | </div> |
411 | {!this.column.editRow && <FormOutlined class={`${this.prefixCls}__normal-icon`} />} | 410 | {!this.column.editRow && <FormOutlined class={`${this.prefixCls}__normal-icon`} />} |
412 | </div> | 411 | </div> |