标签:item pre vue.js model color AC _id == expect
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>
【laravel5.4+vue.js】laravel 循环三维数组,解决:htmlentities() expects parameter 1 to be string, array given
标签:item pre vue.js model color AC _id == expect
原文地址:https://www.cnblogs.com/xuzhengzong/p/8819502.html