CMS根据栏目查询,增加包含下级栏目的文章

This commit is contained in:
thinkgem
2023-04-08 13:34:00 +08:00
parent 063d137afd
commit 30acc93b3c
4 changed files with 19 additions and 17 deletions

View File

@@ -24,7 +24,7 @@
<#form:treeselect id="category" title="${text('所属栏目')}"
path="category.categoryCode" labelPath="category.categoryName"
url="${ctx}/cms/category/treeData?excludeCode=${article.category.categoryCode}"
class="required" allowClear="true" canSelectRoot="true" canSelectParent="true" />
class="required" allowClear="false" canSelectRoot="true" canSelectParent="false" />
</div>
</div>
</div>