未验证 提交 87fe30d9 编写于 作者: W wolfcode 提交者: GitHub

Update edit.html

上级 8e82a886
......@@ -5,7 +5,7 @@
<div class="layui-input-block">
<select class="layui-select" name="category_id">
{volist name='category' id='vo'}
<option value="{$key}" {if $info.category_id==$key}selected{/if}>{$vo}</option>
<option value="{$key}" {if !empty($info.category_id) && $info.category_id==$key}selected{/if}>{$vo}</option>
{/volist}
</select>
</div>
......@@ -118,4 +118,4 @@
});
});
</script>
\ No newline at end of file
</script>
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册