Browse Source
fix(table): fix the initial data display of editable cells (#218)
修正可编辑单元格初始数据显示
pull/219/head
葡萄架
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
1 deletions
-
src/components/Table/src/components/editable/EditableCell.vue
|
|
|
@ -1,7 +1,7 @@ |
|
|
|
<template> |
|
|
|
<div :class="prefixCls"> |
|
|
|
<div v-show="!isEdit" :class="`${prefixCls}__normal`" @click="handleEdit"> |
|
|
|
{{ value || ' ' }} |
|
|
|
{{ getValues || ' ' }} |
|
|
|
<FormOutlined :class="`${prefixCls}__normal-icon`" v-if="!column.editRow" /> |
|
|
|
</div> |
|
|
|
|
|
|
|
@ -312,6 +312,7 @@ |
|
|
|
handleOptionsChange, |
|
|
|
getWrapperStyle, |
|
|
|
getRowEditable, |
|
|
|
getValues, |
|
|
|
// getSize, |
|
|
|
}; |
|
|
|
}, |
|
|
|
|