hejianhao
2026-02-27 67f2238fac01b09ef6206c3c50bba0bf338d8115
fix: 调整地图缩放边距条件以包含更多行程状态

当行程状态不为1或6时,使用较大的底部边距,确保地图能完整显示所有相关点
1个文件已修改
2 ■■■■■ 已修改文件
src/robotaxi/pages/begin-route/index.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/index.tsx
@@ -621,7 +621,7 @@
        ];
        mapCtx.includePoints({
          points: allPoints,
          padding: [50, 50, tripStatus != 6 ? 500 : 100, 50]
          padding: [50, 50, ![1, 6].includes(tripStatus) ? 500 : 100, 50]
        });
      }
    } else {