自定义的画布组件放在swiper里不显示,是为什么?
<swiper-item catchtouchmove=‘catchTouchMove’>
<!-- 生成图片 -->
<view wx:if="{{hiden}}" style=“height:100%;” >
<canvas-share bindclose=“close” hid="{{hid}}"/>
</view>
</swiper-item>
<swiper-item catchtouchmove=‘catchTouchMove’>
<!-- 生成图片 -->
<view wx:if="{{hiden}}" style=“height:100%;” >
<canvas-share bindclose=“close” hid="{{hid}}"/>
</view>
</swiper-item>