taro root-portal 不支持嵌套?

qpgpyjmq  于 2023-02-04  发布在  其他
关注(0)|答案(1)|浏览(196)

相关平台

微信小程序

小程序基础库: 2.27.1
使用框架: Vue 3

复现步骤

root-portal 嵌套会报错:

./base.wxml:-1:-1:-1: Template ./base.wxml:tmpl_0_46 is being called recursively, will be stop.

期望结果

可以嵌套

实际结果

不可用嵌套

环境信息

Taro CLI 3.5.3 environment info:
    System:
      OS: macOS 12.4
      Shell: 5.8.1 - /bin/zsh
    Binaries:
      Node: 16.15.1 - /usr/local/bin/node
      npm: 8.11.0 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 3.5.6 => 3.5.6 
      @tarojs/components: 3.5.6 => 3.5.6 
      @tarojs/plugin-framework-vue3: 3.5.6 => 3.5.6 
      @tarojs/runtime: 3.5.6 => 3.5.6 
      @tarojs/taro: 3.5.6 => 3.5.6 
      @tarojs/webpack5-runner: 3.5.6 => 3.5.6 
      babel-preset-taro: 3.5.6 => 3.5.6 
      eslint-config-taro: 3.5.6 => 3.5.6
ki0zmccv

ki0zmccv1#

@ccqgithub root-portal 有需要嵌套的场景么?

相关问题