简单标签使用demo

解决已知bug
This commit is contained in:
2020-04-22 21:32:36 +08:00
parent 5ae9d68948
commit 676c5854cd
12 changed files with 40 additions and 144 deletions

View File

@@ -32,7 +32,7 @@
<div class="col-lg-8">
<select name="type" id="type" class="form-control selectpicker" style="width:auto; min-width: 150px;">
{volist name="config['nav_type_list']" id="item"}
<option value="{$key}" {if isset($info['type']) && $info['type'] == $item['key']}selected{/if}>{$item['label']}</option>
<option value="{$item['key']}" {if isset($info['type']) && $info['type'] == $item['key']}selected{/if}>{$item['label']}</option>
{/volist}
</select>
</div>