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

[Navbar] 页面返回不到上一层,直接返回到了首页 #2676

Closed
sundayha opened this issue Mar 31, 2024 · 2 comments
Closed

[Navbar] 页面返回不到上一层,直接返回到了首页 #2676

sundayha opened this issue Mar 31, 2024 · 2 comments

Comments

@sundayha
Copy link

tdesign-miniprogram 版本

1.2.9

重现链接

No response

重现步骤

a b c 三个页面依次进入,从b进入到c返回后直接到 a 页面了
跳转页面用的 wx.navigateTo。返回上一页用的 wx.navigateBack。打印 getCurrentPages 时,里面是存在 a b c 三个页面的

期望结果

页面c返回页面b

实际结果

页面c返回到页面a

基础库版本

3.3.4

补充说明

No response

Copy link
Contributor

👋 @sundayha,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@sundayha
Copy link
Author

sundayha commented Mar 31, 2024

我把bind:go-back="***"去掉了,变成这样 <t-navbar class="navbar" title="***" left-arrow /> 莫名其妙的就好使了,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant