Explorar el Código

[Mod 0000]修改密闭统计序号显示

wangkeyi hace 6 meses
padre
commit
d763789233
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      src/views/dashboard/basicInfo/closedStatistics/closed.data.ts

+ 2 - 1
src/views/dashboard/basicInfo/closedStatistics/closed.data.ts

@@ -9,8 +9,9 @@ export function getClosedStatisticsColumns(): BasicColumn[] {
   return [
     {
       title: '序号',
-      dataIndex: 'code',
+      // dataIndex: 'code',
       align: 'center',
+      customRender: ({ index }: { index: number }) => `${index + 1}`,
     },
     {
       title: '区域',