From 04184cc5a57562b5b7bf4bd1676c0e10414319f3 Mon Sep 17 00:00:00 2001 From: mingsoft Date: Sat, 23 Oct 2021 15:21:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=96=87=E7=AB=A0=E5=88=97?= =?UTF-8?q?=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/webapp/WEB-INF/manager/cms/content/main.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;