fix: 编译类型错误

This commit is contained in:
TsMask
2025-03-11 15:50:48 +08:00
parent e9f58a491b
commit fec1ee0f68
3 changed files with 4 additions and 4 deletions

View File

@@ -1095,7 +1095,7 @@ onBeforeUnmount(() => {
:scroll="{ y: 250 }"
size="small"
:custom-row="
record => ({
(record:any) => ({
onClick: () => handleRowClick(record),
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
})

View File

@@ -1109,7 +1109,7 @@ onBeforeUnmount(() => {
:scroll="{ y: 250 }"
size="small"
:custom-row="
record => ({
(record:any) => ({
onClick: () => handleRowClick(record),
class: selectedRow.includes(record.kpiId) ? 'selected-row' : '',
})

View File

@@ -1327,7 +1327,7 @@ const handleTabChange = async (activeKey: string, type: AllChartType) => {
:scroll="{ y: 'true' }"
:loading="chartStates[type].tableState.loading"
:custom-row="
record => ({
(record:any) => ({
onClick: () => handleRowClick(record, type),
class: selectedRows[type]?.includes(record.kpiId)
? 'selected-row'