小程序表单当中利用多选设置了一个《免责条款》,但是程序默认是选中的,怎么修改能让他不默认选中呢
<view class="flex-grow-1 flex-row" style="flex-wrap:wrap" wx:if="{{form.type=='checkbox'}}">
<view bindtap="selectForm" class="default {{v.is_selected==1?'d-active':''}}" data-form-id="{{formId}}" data-index="{{index}}" data-k="{{k}}" style="border-radius:0" wx:for="{{form.default_list}}" wx:for-index="k" wx:for-item="v" wx:key="{{v.id}}">{{v.name}}</view>
</view>
通过下面的样式控制选中与否的么?v.is_selected 设置为0
...class="default {{v.is_selected==1?'d-active':''}}"...