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

升级3.1.0使用CustomWrapper控件会报错,Template tmpl_0_custom-wrapper not found. #8756

Closed
xiaoice opened this issue Feb 25, 2021 · 0 comments · Fixed by #8763
Closed
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x
Milestone

Comments

@xiaoice
Copy link

xiaoice commented Feb 25, 2021

相关平台

微信小程序

复现仓库

https://github.com
小程序基础库: 2.1.0
使用框架: React

复现步骤

 Template `tmpl_0_custom-wrapper` not found.
  503 | 
  504 | <template name="tmpl_2_container">
> 505 |   <template is="{{xs.a(2, i.nn, l)}}" data="{{i:i,cid:2,l:xs.f(l,i.nn)}}" />
      |                ^
  506 | </template>
  507 | 
  508 | <template name="tmpl_3_catch-view">

期望结果

3.0.X是OK的,升级后有这个异常,无法正常渲染,期望正常正常渲染

实际结果

3.1.0无法正常渲染

环境信息

Taro CLI 3.1.0 environment info:
    System:
      OS: Windows 10
    Binaries:
      Node: 14.15.0 - C:\Program Files\nodejs\node.EXE
      Yarn: 1.22.10 - C:\Users\13774\AppData\Roaming\npm\yarn.CMD
      npm: 6.14.8 - C:\Program Files\nodejs\npm.CMD
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-3 Version - 3.x labels Feb 25, 2021
@Chen-jj Chen-jj added this to the 3.1.1 milestone Feb 25, 2021
@Chen-jj Chen-jj linked a pull request Feb 26, 2021 that will close this issue
9 tasks
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

Successfully merging a pull request may close this issue.

2 participants