Skip to content

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

Closed
@forwzb

Description

@forwzb

相关平台

微信小程序

小程序基础库: 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    F-reactFramework - ReactT-weappTarget - 编译到微信小程序V-3Version - 3.x

    Type

    No type

    Projects

    • Status

      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions