fix(web-antdv-next): IoT 历史数据表使用 render 替换 customRender
This commit is contained in:
@@ -121,7 +121,7 @@ const tableColumns = computed(() => [
|
||||
key: 'index',
|
||||
width: 80,
|
||||
align: 'center' as const,
|
||||
customRender: ({ index }: { index: number }) => index + 1,
|
||||
render: (_value: unknown, _record: unknown, index: number) => index + 1,
|
||||
},
|
||||
{
|
||||
title: '时间',
|
||||
|
||||
Reference in New Issue
Block a user