Browse Source

fix(table): `value` show problem in editable cell

修复可编辑单元格的值不能直接通过修改dataSource来更新显示的问题。

fixed: #922
pull/941/head
无木 5 years ago
parent
commit
61ce25be1b
  1. 1
      CHANGELOG.zh_CN.md
  2. 1
      src/components/Table/src/components/editable/EditableCell.vue

1
CHANGELOG.zh_CN.md

@ -13,6 +13,7 @@
- 修复树形表格的带有展开图标的单元格的内容对齐问题
- 新增`headerTop`插槽
- 修复操作列的按钮在 disabled 状态下的颜色显示
- 修复可编辑单元格的值不能直接通过修改`dataSource`来更新显示的问题
- **TableAction**
- 仅在 `action.tooltip`存在的情况下 才创建 Tooltip 组件
- 修复组件内的圆形按钮内容没有居中的问题

1
src/components/Table/src/components/editable/EditableCell.vue

@ -154,6 +154,7 @@
watchEffect(() => {
defaultValueRef.value = props.value;
currentValueRef.value = props.value;
});
watchEffect(() => {

Loading…
Cancel
Save