微信小程序WXML编译错误怎么解决?
[ WXML 文件编译错误] ./pages/shop/task.wxml Bad attr `data-event-params` with message 63 | <view class="welfare_bottom_item" wx:for="{{donetaskList}}" wx:for-item="tdItem" wx:key="index"> 64 | <view class="welfare_bottom_item_two"> > 65 | <view bindtap="__e" class="welfare_item_left" data-event-opts="{{[ [ 'tap',[ [ 'e1',['$event'] ] ] ] ]}}" data-event-params="{{tdItem:tdItem}}" data-index="{{index}}"> | ^ 66 | <view class="welfare_item_left_h1">{{tdItem.name}}</view> 67 | <view class="welfare_item_left_h2"> 68 | <grace-single-slider barBgColor="{{'linear-gradient(to right, '+(tdItem.barBgColor_left?tdItem.barBgColor_left:'#ffbf8a')+','+(tdItem.barBgColor_right?tdItem.barBgColor_right:'#ff9966')+')'}}" barHeight="{{50}}" barText="{{tdItem.bili}}" barTextSize="26rpx" barWidth="{{tdItem.width}}" bglineAColor="{{tdItem.bglineAColor?tdItem.bglineAColor:'#ff9966'}}" bglineColor="{{tdItem.bglineColor?tdItem.bglineColor:'#e5e5e5'}}" bglineSize="{{50}}" bind:__l="__l" borderRadius="40rpx" canSlide="{{false}}" style="width:540rpx;" vueId="{{'4e5601d1-3-'+index+','+'4e5601d1-1'}}"></grace-single-slider> at files://pages/shop/task.wxml#65(env: Windows,mp,1.05.2110110; lib: 2.19.4) 源码: <view class="signin_top_left welfare_title">已完成任务</view> <view class="welfare_bottom"> <view class="welfare_bottom_item" wx:for="{{donetaskList}}" wx:for-item="tdItem" wx:key="index"> <view class="welfare_bottom_item_two"> <view bindtap="__e" class="welfare_item_left" data-event-opts="{{[ [ 'tap',[ [ 'e1',['$event'] ] ] ] ]}}" data-event-params="{{tdItem:tdItem}}" data-index="{{index}}"> <view class="welfare_item_left_h1">{{tdItem.name}}</view> <view class="welfare_item_left_h2"> <grace-single-slider barBgColor="{{'linear-gradient(to right, '+(tdItem.barBgColor_left?tdItem.barBgColor_left:'#ffbf8a')+','+(tdItem.barBgColor_right?tdItem.barBgColor_right:'#ff9966')+')'}}" barHeight="{{50}}" barText="{{tdItem.bili}}" barTextSize="26rpx" barWidth="{{tdItem.width}}" bglineAColor="{{tdItem.bglineAColor?tdItem.bglineAColor:'#ff9966'}}" bglineColor="{{tdItem.bglineColor?tdItem.bglineColor:'#e5e5e5'}}" bglineSize="{{50}}" bind:__l="__l" borderRadius="40rpx" canSlide="{{false}}" style="width:540rpx;" vueId="{{'4e5601d1-3-'+index+','+'4e5601d1-1'}}"></grace-single-slider> </view>