Fixed #5243 - Table: Computed property "bodyStyle" is already defined in Props.

pull/5418/head
tugcekucukoglu 2024-03-14 15:54:35 +03:00
parent 0e4aba78b7
commit 1f2e035640
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
<template> <template>
<tbody :ref="bodyRef" :class="cx('tbody')" role="rowgroup" :style="bodyStyle" v-bind="ptm('tbody', ptmTBodyOptions)"> <tbody :ref="bodyRef" :class="cx('tbody')" role="rowgroup" :style="bodyContentStyle" v-bind="ptm('tbody', ptmTBodyOptions)">
<template v-if="!empty"> <template v-if="!empty">
<template v-for="(rowData, rowIndex) of value" :key="getRowKey(rowData, rowIndex)"> <template v-for="(rowData, rowIndex) of value" :key="getRowKey(rowData, rowIndex)">
<DTBodyRow <DTBodyRow
@ -279,7 +279,7 @@ export default {
return null; return null;
}, },
bodyStyle() { bodyContentStyle() {
return this.getVirtualScrollerProp('contentStyle'); return this.getVirtualScrollerProp('contentStyle');
}, },
ptmTBodyOptions() { ptmTBodyOptions() {