sun-chaochao 3 лет назад
Родитель
Сommit
b3d2ee9a54
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: {