lind пре 3 година
родитељ
комит
b8d8dda96d
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/pages/link/Certificate/index.tsx

+ 1 - 1
src/pages/link/Certificate/index.tsx

@@ -24,7 +24,7 @@ const Certificate = () => {
     {
       dataIndex: 'type',
       title: '证书标准',
-      render: (text: any) => <span>{text?.text || '-'}</span>,
+      render: (_, record: any) => <span>{record.type?.text || '-'}</span>,
       valueType: 'select',
       valueEnum: {
         common: {