<view wx:for="{{apps}}" wx:for-item="apps">
    <van-checkbox icon-size='28rpx' custom-class='custom-checkbox check-label' label-class='label-text' value="{{isCheck.isCheck(apps.systemappid,nubArr)}}" shape='square' data-item="{{apps}}" bindtap="classClick">{{apps.systemappname}}</van-checkbox>
    <van-checkbox-group wx:if="{{show}}" wx:key="index" value="{{apps.optionids}}" data-index="{{index}}" id="{{apps.systemappid}}" bind:change="onChange">
        <van-checkbox wx:for="{{apps.options}}" wx:key="{{options.optionid}}" wx:for-item="options" icon-size='28rpx' custom-class='custom-checkbox ' label-class='label-text' shape='square' name="{{options.optionid}}">{{options.optionname}}</van-checkbox>
    </van-checkbox-group>
</view>
<wxs module="isCheck">
    module.exports.isCheck = function (id, arr) {
        for (var i = 0; i < arr.length; i++) {
            if (arr[i] == id) return true;
        };
    }
</wxs>