🐛 [BUG] useDraw的shape,在切换形状后导致无法绘制
hsp-sz opened this issue · comments
🐛 Bug description [Please make everyone to understand it]
![image](https://private-user-images.githubusercontent.com/60083015/318367078-3301d531-a6d0-4e1c-b714-8f82e4a09494.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQ5MzEyNjEsIm5iZiI6MTcyNDkzMDk2MSwicGF0aCI6Ii82MDA4MzAxNS8zMTgzNjcwNzgtMzMwMWQ1MzEtYTZkMC00ZTFjLWI3MTQtOGY4MmU0YTA5NDk0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODI5VDExMjkyMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWVhNzQwNjJmYTE1NzMxOTY2YTkxZmEwOGUzNWNmMWZlNDRlYzIwNThjNDY4ZGZmMjI5OWMyMmM1ZjVlZTA5ZTQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.ldyCwEjj7LxT0WoRwW2IDyhiVGLyb5cCStLmjNwZtQ4)
https://codesandbox.io/p/sandbox/wizardly-thompson-cnlvkp?file=%2FApp.tsx%3A19%2C16
Please provide a link by forking these links LarkMap or GitHub repo, a minimal reproduction.
- Required Link to minimal reproduction:
📷 Step to reproduce
🏞 Expected result
🚑 Any additional [like screenshots]
- LarkMap Version:
- Platform:
升级 L7 至 2.21.3 以上