laravel循环三维数组 +++ vue.js循环三维数组 (数据均是以三维数组形式存在的)
<form-item label="权限名称" prop="interest">
@foreach($permission3level as $k => $v)
@foreach($v as $k2 => $v2)
{{$v2['name']}}+++{{$v2['cate_id']}}
@endforeach
@endforeach
</form-item> <form-item label="权限名称" prop="interest">
@foreach($permission3level as $k=> $v)
@if($k==1 )
<div v-for="(item2,index2) in level" >
<checkbox-group v-model="ruleForm.interest">
<Checkbox v-for="(item,index) in item2 " :index="index" :label="item['name']"> </Checkbox>
</checkbox-group>
</div>
@endif
@endforeach
</form-item>