修复导航管理二级没有数据出现错误

This commit is contained in:
devil_gong 2019-01-11 11:09:37 +08:00
parent 5d0d9e5f12
commit 3099c1d5d4

View File

@ -142,7 +142,7 @@
<option value="">请选择...</option> <option value="">请选择...</option>
{{foreach $article_list as $v}} {{foreach $article_list as $v}}
<optgroup label="{{$v.name}}"> <optgroup label="{{$v.name}}">
<notempty name="v.items"> {{if !empty($v['items'])}}
{{foreach $v.items as $vs}} {{foreach $v.items as $vs}}
<option value="{{$vs.id}}">{{$vs.title}}</option> <option value="{{$vs.id}}">{{$vs.title}}</option>
{{/foreach}} {{/foreach}}