This commit is contained in:
wenc000 2020-06-17 19:26:15 +08:00
parent 7d09893634
commit db89dcd30f
2 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
<label class="layui-form-label">文章类别</label>
<div class="layui-input-block layui-form" id="articleCategoryIdJoinTemplateBox" lay-filter="articleCategoryIdJoinTemplateBox"></div>
<script id="articleCategoryIdJoinTemplate" type="text/html">
<select name="articleCategoryId" lay-search>
<select name="articleCategoryId" lay-verify="required" lay-search>
<option value="">选择文章类别</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.articleCategoryId}}">{{item.title}}</option>

View File

@ -25,7 +25,7 @@
<label class="layui-form-label">文章类别</label>
<div class="layui-input-block layui-form" id="articleCategoryIdJoinTemplateBox" lay-filter="articleCategoryIdJoinTemplateBox"></div>
<script id="articleCategoryIdJoinTemplate" type="text/html">
<select name="articleCategoryId" lay-search>
<select name="articleCategoryId" lay-verify="required" lay-search>
<option value="">选择文章类别</option>
{{# for(var i = 0, item; item = d[i++];) { }}
<option value="{{item.articleCategoryId}}">{{item.title}}</option>