|
|
@ -1,5 +1,5 @@ |
|
|
|
import { useTranslation } from '@/i18n.ts' |
|
|
|
import { Button, Form, Popconfirm } from 'antd' |
|
|
|
import { Button, Form, Image, Popconfirm } from 'antd' |
|
|
|
import { useAtom, useAtomValue } from 'jotai' |
|
|
|
import { |
|
|
|
deleteVideoAtom, |
|
|
@ -138,7 +138,7 @@ const Video = () => { |
|
|
|
'title': t(`${i18nPrefix}.columns.pic`, 'Pic'), |
|
|
|
'dataIndex': 'pic', |
|
|
|
render: (_dom, record) => { |
|
|
|
return <img src={record.pic} alt="" style={{ width: 100 }}/> |
|
|
|
return <Image src={record.pic} height={40}/> |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|