Commit edc30965653831b4572c5d5e067f556f4757ce75
1 parent
3a5d1a57
fix(table): editable icon not show with empty cell
修复可编辑单元格当内容为空时不会显示编辑图标的问题 fixed: #1103
Showing
2 changed files
with
2 additions
and
1 deletions
CHANGELOG.zh_CN.md
src/components/Table/src/components/editable/EditableCell.vue
... | ... | @@ -6,7 +6,7 @@ |
6 | 6 | @click="handleEdit" |
7 | 7 | > |
8 | 8 | <div class="cell-content" :title="column.ellipsis ? getValues ?? '' : ''">{{ |
9 | - getValues ?? ' ' | |
9 | + getValues ? getValues : ' ' | |
10 | 10 | }}</div> |
11 | 11 | <FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" /> |
12 | 12 | </div> | ... | ... |