-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
在h5中使用navigator组件问题 #195
Comments
可以使用 :delta="1" 来启用类型转换 |
|
贴一下你的代码 |
|
另外发现使用open-type="navigateBack"编译后uni-navigator上是没有该属性的,只有参考官方提供的示例那样直接navigateBack才管用。 |
已确认问题 |
1.7.0 已更新并修复此问题 |
更新到最新版后,关于h5中的:delta="1",浏览器控制台依旧报: |
<navigator :delta="1" open-type="navigateBack">back...</navigator> HBuilderX 1.7.0.20190314 |
问题描述
在h5中使用navigator组件,open-type为"navigateBack",此时将delta设置为1时会报:Expected Number with value 1, got String with value "1".
触发该组件报: should have url attribute when using navigateTo, redirectTo, reLaunch or switchTab
预期结果
希望navigator增加对navigateBack的支持
The text was updated successfully, but these errors were encountered: