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 <template> 1 <template>
2 <div :class="prefixCls"> 2 <div :class="prefixCls">
3 <div v-show="!isEdit" :class="`${prefixCls}__normal`" @click="handleEdit"> 3 <div v-show="!isEdit" :class="`${prefixCls}__normal`" @click="handleEdit">
4 - {{ value || '&nbsp;' }} 4 + {{ getValues || '&nbsp;' }}
5 <FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" /> 5 <FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" />
6 </div> 6 </div>
7 7
@@ -312,6 +312,7 @@ @@ -312,6 +312,7 @@
312 handleOptionsChange, 312 handleOptionsChange,
313 getWrapperStyle, 313 getWrapperStyle,
314 getRowEditable, 314 getRowEditable,
  315 + getValues,
315 // getSize, 316 // getSize,
316 }; 317 };
317 }, 318 },