table
table copied to clipboard
fix: add bounds check to getColumnWidth function
fix: prevent array bounds error in getColumnWidth calculation
当colSpan过大时,getColumnWidth 中数组越界,将产生样式错乱
Summary by CodeRabbit
发布说明
-
优化改进
- 改进了列宽度计算的内部逻辑,增强了边界验证和数据安全性。
- 优化了多列跨度场景下的计算准确性。