소스 검색

fix: table cell edit bug. (#2465)

sevth 2 년 전
부모
커밋
582d7e7351
1개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 2 3
      src/components/Table/src/components/editable/EditableCell.vue

+ 2 - 3
src/components/Table/src/components/editable/EditableCell.vue

@@ -404,9 +404,8 @@
                     column: this.column,
                     index: this.index,
                   })
-                : this.getValues
-                ? this.getValues
-                : '\u00A0'}
+                : (this.getValues ?? "\u00A0")
+                }
             </div>
             {!this.column.editRow && <FormOutlined class={`${this.prefixCls}__normal-icon`} />}
           </div>