refactor(core): 重构会议接口并统一代码换行符
- 调整前端会议接口类型,新增 MeetingParticipant 定义 - 统一全项目文件换行符为 LF,清理 CRLF 格式 - 完善 .gitignore 规则与 H5 端基础类型定义dev_na
parent
41a21f4d8e
commit
72a2bfd8f7
|
|
@ -860,7 +860,13 @@ const Meetings: React.FC = () => {
|
||||||
</Button>
|
</Button>
|
||||||
)}
|
)}
|
||||||
{canManageMeeting(record) && (
|
{canManageMeeting(record) && (
|
||||||
<Popconfirm title="确定删除吗?" onConfirm={() => deleteMeeting(record.id).then(() => fetchData())}>
|
<Popconfirm
|
||||||
|
title="确定删除吗?"
|
||||||
|
onConfirm={(event) => {
|
||||||
|
event?.stopPropagation();
|
||||||
|
return deleteMeeting(record.id).then(() => fetchData());
|
||||||
|
}}
|
||||||
|
>
|
||||||
<Button type="link" danger size="small" onClick={(e) => e.stopPropagation()}>删除</Button>
|
<Button type="link" danger size="small" onClick={(e) => e.stopPropagation()}>删除</Button>
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue