Sfoglia il codice sorgente

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

wangkeyi 4 mesi fa
parent
commit
d763789233

+ 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: '区域',