mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2026-03-17 19:23:31 +00:00
Merge pull request #79 from overQ-N/feature/overq
update: 更新readme开源协议 未选中组件时不出现删除按钮
This commit is contained in:
commit
0332f27970
@ -8,7 +8,7 @@
|
|||||||
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
<img alt="Documentation" src="https://img.shields.io/badge/documentation-yes-brightgreen.svg" />
|
||||||
</a>
|
</a>
|
||||||
<a href="#" target="_blank">
|
<a href="#" target="_blank">
|
||||||
<img alt="License: MIT" src="https://img.shields.io/badge/License-MIT-yellow.svg" />
|
<img alt="license:GPL3.0" src="https://img.shields.io/badge/license-GPL3.0-yellow.svg" />
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|||||||
@ -494,9 +494,13 @@ const Container = (props: {
|
|||||||
padding: rightColla ? 0 : '10px',
|
padding: rightColla ? 0 : '10px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
|
{curPoint?.id ? (
|
||||||
<Button block type="primary" onClick={() => handleDel(curPoint.id)}>
|
<Button block type="primary" onClick={() => handleDel(curPoint.id)}>
|
||||||
删除
|
删除
|
||||||
</Button>
|
</Button>
|
||||||
|
) : (
|
||||||
|
''
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user