Skip to content

Commit

Permalink
⚡略微改善代码
Browse files Browse the repository at this point in the history
  • Loading branch information
greatanimalion committed Sep 1, 2024
1 parent f20f064 commit 69d6ec1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/contentPage/components/ElemenetMessage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ export const ElementMessage = () => {
})
return <>
<div style={{ marginTop: '48px' }}>
{i}
{!!i?<h1 style={{color:"#616161",marginTop:"20px",textAlign:"center"}}>按住Q键可选中元素,再次按下取消</h1>:<></>}
{!!i?<h1 style={{color:"#616161",marginTop:"20px",textAlign:"center"}}>按住Q键可选中元素,再次按下取消</h1>:i}
</div>

</>;
Expand Down

0 comments on commit 69d6ec1

Please sign in to comment.