diff --git a/src/main/webapp/WEB-INF/manager/cms/category/form.ftl b/src/main/webapp/WEB-INF/manager/cms/category/form.ftl index 4ea5c172..98aeac9c 100644 --- a/src/main/webapp/WEB-INF/manager/cms/category/form.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/category/form.ftl @@ -7,8 +7,10 @@
- 保存 - + <@shiro.hasPermission name="cms:category:save"> + 保存 + + 返回 @@ -412,6 +414,10 @@ if (that.form.id > 0) { url = ms.manager + "/cms/category/update.do"; } + //若缩略图为空则赋值为空串 + if (that.form.categoryImg.length == 0){ + that.form.categoryImg = ""; + } this.$refs.form.validate(function (valid) { if (valid) { //栏目属性为封面则不需要列表模板 diff --git a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl index 9a02297e..fc09a568 100644 --- a/src/main/webapp/WEB-INF/manager/cms/content/form.ftl +++ b/src/main/webapp/WEB-INF/manager/cms/content/form.ftl @@ -7,11 +7,23 @@
- - 保存 - - 返回 - + + + + + 编号:{{form.id}} + + + + + <@shiro.hasPermission name="cms:content:save"> + 保存 + + + 返回 + + + @@ -126,6 +138,24 @@ + + + + + +
+ 标签:${'$'}{field.outlink} 文章外链接必须以http或者https等开头 +
+
+
+
@@ -153,6 +183,9 @@ :disabled="false" controls-position=""> +
+ 提示:前台模板标签需要设置orderby属性为sort才能生效 +
@@ -217,7 +250,7 @@