出现BUG的代码如下:
<import src="…/movie/movie-tpl.wxml" />
<template name=“movie-list”>
<view class=“movie-list-container”>
<view class=“movie-list-head {{colorStyle}}”>
<text>{{title}}</text>
<view class=“more”>
<text>更多</text>
<text class=“iconfont icon-right”></text>
</view>
</view>
<view class=“movie-list-body”>
<block wx:for="{{movies}}" wx:for-item=“movie”>
<template is=“movie” data="{{…movie}}" />
</block>
</view>
</view>
</template>
报错截图:
求官方确认此BUG并修复
PS:经测试,发现如果出入此template的参数不用…开头,里面循环template不会报错