Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

[BUG] navigateTo error #1937

Open
ghost opened this issue Jul 8, 2022 · 1 comment
Open

[BUG] navigateTo error #1937

ghost opened this issue Jul 8, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@ghost
Copy link

ghost commented Jul 8, 2022

如果 navigateTo url 以 / 开头 会报错找不到, 还莫名的加了前缀pages/index/...。 配置文件里的pages又不支持 / 开头, 这两个地方是不是要统一下比较人性

@ghost ghost added the bug Something isn't working label Jul 8, 2022
@ghost ghost changed the title [BUG] navigateTo 报错不能正常跳转页面 wu1 Jul 8, 2022
@ghost ghost closed this as completed Jul 8, 2022
@ghost ghost closed this as not planned Won't fix, can't repro, duplicate, stale Jul 8, 2022
@ghost ghost changed the title wu1 [BUG] navigateTo error Jul 8, 2022
@ghost ghost reopened this Jul 8, 2022
@watsonhaw5566
Copy link
Contributor

watsonhaw5566 commented Jul 8, 2022

正常路由行为,不必统一。pages 已经是根目录,当在 pages 二级目录下使用 / 是有效的。检查一下自己的用法。

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

No branches or pull requests

1 participant