smartxworks / sunmao-ui

A Framework for Developing Low-code Tool
https://sunmao-ui.com
Apache License 2.0
1.38k stars 94 forks source link

fix: remove the useless component key #731

Closed MrWindlike closed 3 months ago

MrWindlike commented 4 months ago

These components are not in the iteration, so we don't need to add a key. Additionally, if the component ID is dynamic and has an index variable, the component will re-generate when the id is changed.

Based on the above points, we should remove the useless component key.