Commit 9ea257e1fbd9e50369b0065eb4db37d4f9c24970

Authored by 葡萄架
Committed by GitHub
1 parent 22016291

fix(table): fix the initial data display of editable cells (#218)

修正可编辑单元格初始数据显示
src/components/Table/src/components/editable/EditableCell.vue
1 1 <template>
2 2 <div :class="prefixCls">
3 3 <div v-show="!isEdit" :class="`${prefixCls}__normal`" @click="handleEdit">
4   - {{ value || '&nbsp;' }}
  4 + {{ getValues || '&nbsp;' }}
5 5 <FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" />
6 6 </div>
7 7  
... ... @@ -312,6 +312,7 @@
312 312 handleOptionsChange,
313 313 getWrapperStyle,
314 314 getRowEditable,
  315 + getValues,
315 316 // getSize,
316 317 };
317 318 },
... ...