-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Open
Labels
A-routerArea - H5 路由相关Area - H5 路由相关F-reactFramework - ReactFramework - ReactT-h5Target - 编译到 H5Target - 编译到 H5V-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working
Description
请先确认
- 我已搜索并确定这个提交不是重复的
Taro 版本
v4
相关领域
H5 路由
使用框架
React
相关平台
- 所有平台
- Web 端(H5)
- 移动端(React-Native)
- 鸿蒙(Harmony)
- 鸿蒙容器(Harmony Hybrid)
- ASCF 元服务
- 快应用(QuickApp)
- 所有小程序
- 微信小程序
- 企业微信小程序
- 京东小程序
- 百度小程序
- 支付宝小程序
- 支付宝 IOT 小程序
- 头条小程序
- QQ 小程序
- 钉钉小程序
- 飞书小程序
- 快手小程序
小程序基础库版本
No response
问题描述
用taro模版构建的多端项目,h5路由模式切到browser 模式下,html根节点的font-size在url没用query的情况下大小正常,url增加query之后刷新h5页面,html根节点的font-size大小一直保持20。
复现链接
暂无
复现步骤
- h5路由模式切到browser 模式下
- 给url增加query
- 刷新页面
环境信息
👽 Taro v4.1.8
✔ 获取 taro 全局配置成功
Taro CLI 4.1.8 environment info:
System:
OS: macOS 14.0
Shell: 5.9 - /bin/zsh
Binaries:
Node: 24.0.2
npm: 11.4.1
npmPackages:
@tarojs/cli: 4.1.8 => 4.1.8
@tarojs/components: 4.1.8 => 4.1.8
@tarojs/components-advanced: 4.1.8 => 4.1.8
@tarojs/helper: 4.1.8 => 4.1.8
@tarojs/plugin-framework-react: 4.1.8 => 4.1.8
@tarojs/plugin-html: 4.1.8 => 4.1.8
@tarojs/plugin-platform-alipay: 4.1.8 => 4.1.8
@tarojs/plugin-platform-h5: 4.1.8 => 4.1.8
@tarojs/plugin-platform-harmony-ets: 4.1.8 => 4.1.8
@tarojs/plugin-platform-jd: 4.1.8 => 4.1.8
@tarojs/plugin-platform-qq: 4.1.8 => 4.1.8
@tarojs/plugin-platform-swan: 4.1.8 => 4.1.8
@tarojs/plugin-platform-tt: 4.1.8 => 4.1.8
@tarojs/plugin-platform-weapp: 4.1.8 => 4.1.8
@tarojs/react: 4.1.8 => 4.1.8
@tarojs/runtime: 4.1.8 => 4.1.8
@tarojs/service: 4.1.8 => 4.1.8
@tarojs/shared: 4.1.8 => 4.1.8
@tarojs/taro: 4.1.8 => 4.1.8
@tarojs/taro-loader: 4.1.8 => 4.1.8
@tarojs/vite-runner: 4.1.8 => 4.1.8
@tarojs/webpack5-runner: 4.1.8 => 4.1.8
babel-preset-taro: 4.1.8 => 4.1.8
react: ^18.3.1 => 18.3.1开源贡献
- 我愿意修复这个错误。请参考 (贡献指南)
Metadata
Metadata
Assignees
Labels
A-routerArea - H5 路由相关Area - H5 路由相关F-reactFramework - ReactFramework - ReactT-h5Target - 编译到 H5Target - 编译到 H5V-4Version - 4.xVersion - 4.xbugSomething isn't workingSomething isn't working
Type
Projects
Status
Padding