taro 不支持插件内页面跳转到非暴露页面

siotufzp  于 5个月前  发布在  其他
关注(0)|答案(2)|浏览(51)

相关平台

微信小程序

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

复现步骤

<Navigator url="plugin-private://wxidxxxxxxxxxxxxxx/pages/chat">跳转</Navigator >

期望结果

支持 plugin-private 跳转

实际结果

不支持 plugin-private 跳转

环境信息

� Taro v3.6.24

  Taro CLI 3.6.24 environment info:
    System:
      OS: Windows 10 10.0.17763
    Binaries:
      Node: 16.20.2 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.21 - C:\Program Files\nodejs\yarn.CMD
      npm: 8.19.4 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.24 => 3.6.24
      @tarojs/components: 3.6.24 => 3.6.24
      @tarojs/helper: 3.6.24 => 3.6.24
      @tarojs/plugin-framework-react: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-alipay: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-h5: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-jd: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-qq: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-swan: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-tt: 3.6.24 => 3.6.24
      @tarojs/plugin-platform-weapp: 3.6.24 => 3.6.24
      @tarojs/react: 3.6.24 => 3.6.24
      @tarojs/runtime: 3.6.24 => 3.6.24
      @tarojs/shared: 3.6.24 => 3.6.24
      @tarojs/taro: 3.6.24 => 3.6.24
      @tarojs/taro-loader: 3.6.24 => 3.6.24
      @tarojs/webpack5-runner: 3.6.24 => 3.6.24
      babel-preset-taro: 3.6.24 => 3.6.24
      eslint-config-taro: 3.6.24 => 3.6.24
      react: ^18.0.0 => 18.2.0
jvlzgdj9

jvlzgdj91#

taro/packages/taroize/src/script.ts

Line 66 in ba27009

| | constregexPluginUrl=/plugin://([^/]+)/([^/?]+)/ |

相关问题