fix: Fix handling of specific array types in auto API components #2254
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This update improves the compatibility and stability of auto API components with complex array types.
🤔 这个变动的性质是?/ What is the nature of this change?
🔗 相关 Issue / Related Issue
💡 需求背景和解决方案 / Background or solution
在之前的版本中,自动 API 表格组件在处理固定长度的元组类型(例如 [number, number])时,会错误地将其识别为 unknown[] 类型。
In the previous version, the auto API table component incorrectly treated fixed-length tuple types (e.g., [number, number]) as unknown[].
📝 更新日志 / Changelog