feat: delete msg
This commit is contained in:
parent
40b3be8a8d
commit
2b807e20d0
@ -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>
|
||||
|
@ -208,8 +208,8 @@ const Login: React.FC = () => {
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
{/*
|
||||
<div
|
||||
|
||||
{/* <div
|
||||
style={{
|
||||
marginBottom: 24,
|
||||
}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user