怎样把值传给wxs?dataset传递失败
<wxs module="slideMove" src="./slideMove.wxs"></wxs>
<view class="liveRoomContainer" bindtap="bigTap" data-width="{{windowWidth}}" bindtouchmove="{{slideMove.touchmove}}" bindtouchend="{{slideMove.touchend}}" bindtouchstart="{{slideMove.touchstart}}">里面嵌套了一些cover-view标签</view>
// 屏幕宽度 windowWidth: wx.getSystemInfoSync().windowWidth
wxs中,e.target.dataset是{}, width值取不到, 怎么传过去啊?