hejianhao
2026-02-28 a69f5ac848226a6e3d63c392581d226624f3465d
fix: 修复乘客须知页面内容渲染错误

修正 getPrivacyContent 返回的数据结构处理,避免直接使用整个响应对象导致渲染异常,改为正确提取 content 字段。
1个文件已修改
2 ■■■■■ 已修改文件
src/robotaxi/pages/passenger-notice/index.tsx 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/robotaxi/pages/passenger-notice/index.tsx
@@ -20,7 +20,7 @@
    };
    setTitle(titleMap[type] || '乘车须知');
    getPrivacyContent(type).then((res: any) => {
      setContent(res);
      setContent(res?.content);
    }).catch(() => { });
  }, []);