Skip to content

Commit 7eeb986

Browse files
committed
chore: vue27:ts-ignore
1 parent 3fe4ada commit 7eeb986

File tree

6 files changed

+11
-0
lines changed

6 files changed

+11
-0
lines changed

src/table/base-table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -626,6 +626,7 @@ export default defineComponent({
626626
key="table-content"
627627
class={this.tableBaseClass.content}
628628
style={this.tableContentStyles}
629+
// vue27:ts-ignore
629630
on={{ scroll: this.onInnerVirtualScroll }}
630631
>
631632
{this.virtualConfig.isVirtualScroll.value && (

src/table/primary-table.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,7 @@ export default defineComponent({
428428

429429
render() {
430430
const isColumnController = !!(this.columnController && Object.keys(this.columnController).length);
431+
// vue27:ts-ignore
431432
const placement = isColumnController ? this.columnController.placement || 'top-right' : '';
432433
const isBottomController = isColumnController && placement?.indexOf('bottom') !== -1;
433434
const topContent = this.formatNode(

src/table/tbody.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,9 @@ export default defineComponent({
164164
<tr class={classes}>
165165
<td colspan={columnLength}>
166166
<div
167+
// vue27:ts-ignore
167168
class={{ [this.tableFullRowClasses.innerFullRow]: this.isFixedToLeft }}
169+
// vue27:ts-ignore
168170
style={this.isFixedToLeft ? { width: `${tableWidth}px` } : {}}
169171
>
170172
<div class={this.tableFullRowClasses.innerFullElement}>{fullRowNode}</div>

src/table/tfoot.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ export default defineComponent({
8585
this.rowKey || 'id',
8686
);
8787
return (
88+
// vue27:ts-ignore
8889
<tr key={rowIndex} attrs={trAttributes} class={customClasses}>
8990
{this.columns.map((col, colIndex) => {
9091
const cellSpans: RowspanColspan = {};
@@ -107,6 +108,7 @@ export default defineComponent({
107108
style.width = `${this.thWidthList[col.colKey]}px`;
108109
}
109110
return (
111+
// vue27:ts-ignore
110112
<td attrs={{ key: col.colKey, ...cellSpans }} class={tdStyles.classes} style={style}>
111113
{this.renderTFootCell({
112114
row,

src/table/thead.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ export default defineComponent({
203203
data-colkey={col.colKey}
204204
class={thClasses}
205205
style={styles}
206+
// vue27:ts-ignore
206207
attrs={{ ...attrs, ...rowspanAndColspan }}
208+
// vue27:ts-ignore
207209
on={resizeColumnListener}
208210
>
209211
<div class={this.tableBaseClass.thCellInner}>

src/table/tr.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ export default defineComponent({
277277
return (
278278
<TEllipsis
279279
placement={'top'}
280+
// vue27:ts-ignore
280281
attach={this.attach || (this.tableElm ? () => this.tableElm : undefined)}
281282
tooltipContent={content && (() => content)}
282283
tooltipProps={tooltipProps}
@@ -321,6 +322,7 @@ export default defineComponent({
321322
const normalAttrs = isFunction(col.attrs) ? col.attrs({ ...params, type: 'td' }) : col.attrs;
322323
const attrs: { [key: string]: any } = { ...normalAttrs, ...cellSpans };
323324
return (
325+
// vue27:ts-ignore
324326
<td class={classes} attrs={attrs} style={{ ...tdStyles.style, ...attrs.style }} onClick={onClick}>
325327
{col.ellipsis ? this.renderEllipsisCell(h, params, { cellNode }) : cellNode}
326328
</td>
@@ -360,6 +362,7 @@ export default defineComponent({
360362
return (
361363
<tr
362364
ref="trRef"
365+
// vue27:ts-ignore
363366
attrs={attrs}
364367
style={this.trStyles?.style}
365368
class={this.classes}

0 commit comments

Comments
 (0)