.wxs返回的数据能否作为template的data中的数据进行传递
发布于 6 年前 作者 yangfan 4520 次浏览 来自 问答

<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传递到模板中?

回到顶部