fix: 编译类型错误
This commit is contained in:
@@ -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' : '',
|
||||
})
|
||||
|
||||
@@ -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' : '',
|
||||
})
|
||||
|
||||
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user