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

无法创建 pages/user/applyDistribution/index 路由,会提示找不到 #16417

Closed
forwzb opened this issue Aug 28, 2024 · 1 comment
Closed
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@forwzb
Copy link

forwzb commented Aug 28, 2024

相关平台

微信小程序

小程序基础库: 3.5.5
使用框架: React

复现步骤

1、创建一个 页面 pages/user/applyDistribution/index ,并且配置pages路由,在其他页面跳转到该路由页面,会提示会找到路由,但是对应的页面确实存在。
2、将以上路由修改为 pages/user/applyDistribution2/index,或者其他字符名称后,就能访问。
3、 改为 pages/applyDistribution/index 后也能访问
不知道什么原因。

1724817807362
1724818475331

期望结果

期望能访问 pages/user/applyDistribution/index 路由

实际结果

提示路由不存在,

环境信息

👽 Taro v4.0.5


  Taro CLI 4.0.5 environment info:
    System:
      OS: Windows 11 10.0.26227
    Binaries:
      Node: 20.5.1 - D:\Program Files\nodejs\node.EXE
      Yarn: 1.22.19 - ~\AppData\Roaming\npm\yarn.CMD
      npm: 10.4.0 - D:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 4.0.5 => 4.0.5
      @tarojs/components: 4.0.5 => 4.0.5
      @tarojs/helper: 4.0.5 => 4.0.5
      @tarojs/plugin-framework-react: 4.0.5 => 4.0.5
      @tarojs/plugin-html: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-alipay: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-h5: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-jd: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-qq: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-swan: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-tt: 4.0.5 => 4.0.5
      @tarojs/plugin-platform-weapp: 4.0.5 => 4.0.5
      @tarojs/react: 4.0.5 => 4.0.5
      @tarojs/runtime: 4.0.5 => 4.0.5
      @tarojs/shared: 4.0.5 => 4.0.5
      @tarojs/taro: 4.0.5 => 4.0.5
      @tarojs/taro-loader: 4.0.5 => 4.0.5
      @tarojs/webpack5-runner: 4.0.5 => 4.0.5
      babel-preset-taro: 4.0.5 => 4.0.5
      eslint-config-taro: 4.0.5 => 4.0.5
      react: ^18.0.0 => 18.3.1

@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Aug 28, 2024
@forwzb forwzb closed this as completed Aug 29, 2024
This was referenced Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Projects
Archived in project
Development

No branches or pull requests

3 participants
@forwzb and others