hejianhao
2026-06-08 29470bce1517c980738d05623e5b3924eec44c8c
fix(robotaxi): 修复导航跳转并完善订单取消事件上报
3个文件已修改
8 ■■■■■ 已修改文件
src/pages/not-on-whitelist/index.tsx 4 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/robotaxi/home/components/home-map-panel.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/begin-route/hooks/use-order-cancel.ts 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/not-on-whitelist/index.tsx
@@ -25,8 +25,8 @@
  });
  const handleBack = () => {
    Taro.reLaunch({
      url: '/pages/xpeng/index',
    Taro.switchTab({
      url: '/pages/home/index',
    });
  };
src/pages/robotaxi/home/components/home-map-panel.tsx
@@ -112,7 +112,7 @@
      style={{ width: '100%', height: HOME_MAP_HEIGHT, flex: 'none' }}
    >
      <View className="select-city-container">
        <View onClick={() => Taro.reLaunch({ url: '/pages/xpeng/index' })} className="home-back-btn">
        <View onClick={() => Taro.switchTab({ url: '/pages/home/index' })} className="home-back-btn">
          <Image className="home-back-icon" src="https://s.xiaopeng.com/xp-fe/robot-taxi/imgs/back-icon.png" />
        </View>
        <View onClick={props.onSelectCity} className="select-city">
src/robotaxi/pages/begin-route/hooks/use-order-cancel.ts
@@ -225,7 +225,7 @@
    try {
      await cancelOrder(targetOrderId);
      if (shouldReportWaitingForDispatchCancel) {
      if (shouldReportWaitingForDispatchCancel || shouldReportWaitingForPickupCancel) {
        reportWaitingForDispatchCancelEvent();
      }
      if (shouldReportWaitingForPickupCancel) {