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

小程序节点超过15层之后,text嵌套text没有进行渲染 #11618

Closed
gzh2626 opened this issue Apr 12, 2022 · 5 comments
Closed

小程序节点超过15层之后,text嵌套text没有进行渲染 #11618

gzh2626 opened this issue Apr 12, 2022 · 5 comments
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x

Comments

@gzh2626
Copy link

gzh2626 commented Apr 12, 2022

相关平台

微信小程序

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

复现步骤

1、嵌套15层view
2、text嵌套text

期望结果

节点正常展示

实际结果

节点无法显示

环境信息

👽 Taro v3.3.17

labels-- {}
ctxOptions---- {}

  Taro CLI 3.3.17 environment info:
    System:
      OS: macOS 12.2.1
      Shell: 5.8 - /bin/zsh
    Binaries:
      Node: 12.14.1 - ~/.nvm/versions/node/v12.14.1/bin/node
      npm: 6.13.4 - ~/.nvm/versions/node/v12.14.1/bin/npm
    npmPackages:
      @tarojs/components: 3.3.17 => 3.3.17 
      @tarojs/mini-runner: 3.3.17 => 3.3.17 
      @tarojs/react: 3.3.17 => 3.3.17 
      @tarojs/runtime: 3.3.17 => 3.3.17 
      @tarojs/taro: 3.3.17 => 3.3.17 
      @tarojs/webpack-runner: 3.3.17 => 3.3.17 
      babel-preset-taro: 3.3.17 => 3.3.17 
      eslint-config-taro: 3.3.17 => 3.3.17 
      react: 17.0.2 => 17.0.2 
      react-native: ^0.66.4 => 0.66.4 
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Apr 12, 2022
@gzh2626
Copy link
Author

gzh2626 commented Apr 12, 2022

image

@gzh2626
Copy link
Author

gzh2626 commented Apr 12, 2022

image

@gzh2626
Copy link
Author

gzh2626 commented Apr 12, 2022

image

@AdvancedCat
Copy link
Member

递归模板的嵌套层级 baseLevel = 16,你可以通过修改baseLevel来调整嵌套层级
https://nervjs.github.io/taro-docs/docs/config-detail#minibaselevel

@Chen-jj
Copy link
Contributor

Chen-jj commented Jun 2, 2022

@gzh2626 你的代码截图只有一部分,没办法复现。如果还有问题,麻烦提供一下完整 demo

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
None yet
Development

No branches or pull requests

3 participants