Forráskód Böngészése

fix: table cell edit bug. (#2465)

sevth 2 éve
szülő
commit
582d7e7351

+ 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>