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