收藏
回答

.wxs返回的数据能否作为template的data中的数据进行传递

<view class="house-card-tags">

        <wxs src="../unitHouseTag/houseTags.wxs" module="houseTags"/>

        <template is="house-tags" data="{{...houseTags}}"></template>

 </view>

houseTags的wxs文件返回一个对象,此对象能否作为模板house-tags的data传递到模板中?


回答关注问题邀请回答
收藏
登录 后发表内容