feat: delete msg

This commit is contained in:
luchang 2024-09-04 10:01:53 +08:00
parent 40b3be8a8d
commit 2b807e20d0
2 changed files with 5 additions and 3 deletions

View File

@ -63,8 +63,10 @@ const Banner: React.FC<IBanner> = ({ type, dataSource, onChange, onDelFile }) =>
render: (_: any, record: any) =>
dataSource.length >= 1 ? (
<Popconfirm
title="Sure to delete?"
title="确定要删除吗?"
onConfirm={() => onDelFile((record as IItemImage).id)}
okText='确定'
cancelText='取消'
>
<a></a>
</Popconfirm>

View File

@ -208,8 +208,8 @@ const Login: React.FC = () => {
/>
</>
)}
{/*
<div
{/* <div
style={{
marginBottom: 24,
}}