【laravel5.4+vue.js】laravel 循环三维数组,解决:htmlentities() expects parameter 1 to be string, array given

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>

 

posted @ 2018-04-13 12:01  PHP急先锋  阅读(4113)  评论(0编辑  收藏  举报