fix(web-antdv-next): IoT 历史数据表使用 render 替换 customRender

This commit is contained in:
XuZhiqiang
2026-06-06 22:39:03 +08:00
parent 852fd0e44f
commit d3bcfd7177

View File

@@ -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: '时间',