feat(map): 标记点弹窗重复点击不再只发送一次请求
parent
66a8ebf6f7
commit
c1f9fd0169
|
|
@ -56,6 +56,7 @@ const CustomModal = () => {
|
|||
return (
|
||||
<Modal
|
||||
open={modalVisible}
|
||||
destroyOnHidden
|
||||
mask={{ closable: false }}
|
||||
footer={[
|
||||
<Button key="cancel" onClick={() => actions.resetMark()}>取消</Button>,
|
||||
|
|
@ -67,7 +68,7 @@ const CustomModal = () => {
|
|||
title={modalData.title || ""}
|
||||
classNames={{ root: "map_bi_model" }}
|
||||
>
|
||||
<div key={modalData.id}>
|
||||
<div>
|
||||
{renderContent()}
|
||||
</div>
|
||||
</Modal>
|
||||
|
|
|
|||
Loading…
Reference in New Issue