Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uni.openLocation 这个API,在IOS 端打开地图后,返回按钮执行了两次 #1465

Closed
pillarBoy opened this issue Mar 23, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@pillarBoy
Copy link

问题描述
uni.openLocation 这个API,在IOS 端打开地图后,在点击左上角返回按钮时,会返回历史路由上两级页面

复现步骤
[复现问题的步骤]

  1. 启动 'APP'
  2. 点击 '景点首页'
  3. 点击 '景区详情页'
    4.点击 '景区详情页' 里面的 '导航' 按钮 打开地图
    此时调用了uni.openLocation,打开位置正常
    5.点击 地图左上角 '返回按钮'
    6.返回到 '景点首页'
    这里直接跳过了'景点详情页'

补充: 测试发现,IPhone 6 和 6Plus都有这个问题,安卓没有这个问题

预期结果
IOS 跟安卓一样,返回上级个页面即可。

实际结果
[这里请贴上你的报错截图或文字]

系统信息:

  • 发行平台: [5+ App等]
  • 操作系统 [ iOS 12.4.3]
  • HBuilderX版本 [2.6.5.20200314]
  • 设备信息 [iPhone6 Plus ]

补充信息
[可选]
[根据你的分析,出现这个问题的原因可能在哪里?]
uni.openLocation这API打开的页面,返回事件那里出了什么问题

@dcloudhdx
Copy link
Contributor

Bug已确认

@dcloudhdx dcloudhdx added the bug Something isn't working label Mar 27, 2020
@dcloudhdx dcloudhdx self-assigned this Mar 27, 2020
@dcloudhdx
Copy link
Contributor

HBuilderX 2.6.10+ 已修复

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants