vxe-table 3.10.0-beta.5 → 3.10.0-beta.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -268,6 +268,15 @@ function renderColumn (h: any, _vm: any, $xetable: any, seq: any, rowid: any, fi
268
268
  )
269
269
  }
270
270
  }
271
+ let cellHeight = ''
272
+ if (hasEllipsis && (scrollYRHeight || rowHeight)) {
273
+ cellHeight = `${scrollYRHeight || rowHeight}px`
274
+ } else if (scrollYLoad) {
275
+ if (!hasEllipsis) {
276
+ cellHeight = `${rest.height || 24}px`
277
+ }
278
+ }
279
+
271
280
  return h('td', {
272
281
  class: [
273
282
  'vxe-body--column',
@@ -293,7 +302,7 @@ function renderColumn (h: any, _vm: any, $xetable: any, seq: any, rowid: any, fi
293
302
  key: columnKey || columnOpts.useKey ? column.id : $columnIndex,
294
303
  attrs,
295
304
  style: Object.assign({
296
- height: hasEllipsis && (scrollYRHeight || rowHeight) ? `${scrollYRHeight || rowHeight}px` : (scrollYLoad ? `${rest.height || 24}px` : '')
305
+ height: cellHeight
297
306
  }, XEUtils.isFunction(compCellStyle) ? compCellStyle(params) : compCellStyle, XEUtils.isFunction(cellStyle) ? cellStyle(params) : cellStyle),
298
307
  on: tdOns
299
308
  }, tdVNs)