diff --git a/src/main/webapp/WEB-INF/manager/cms/content/main.ftl b/src/main/webapp/WEB-INF/manager/cms/content/main.ftl index e6920985..b68c77fb 100644 --- a/src/main/webapp/WEB-INF/manager/cms/content/main.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/content/main.ftl @@ -11,7 +11,7 @@ <@shiro.hasPermission name="cms:content:save"> - 新增 + 新增 <@shiro.hasPermission name="cms:content:del"> 删除 @@ -471,7 +471,7 @@ this.contentCategoryIdOptionsGet(); this.contentTypeOptionsGet(); this.form.categoryId = ms.util.getParameter("categoryId"); - this.leaf = ms.util.getParameter("leaf"); + this.leaf = ms.util.getParameter("leaf")==null?true:JSON.parse(ms.util.getParameter("leaf")); if (history.hasOwnProperty("state")) { this.form = history.state.form; this.currentPage = history.state.page.pageNo;