浏览代码

修改文章

vip 5 年之前
父节点
当前提交
8edbedfaf0
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/main/webapp/WEB-INF/manager/cms/content/form.ftl

+ 3 - 0
src/main/webapp/WEB-INF/manager/cms/content/form.ftl

@@ -622,6 +622,9 @@
 
             if (this.form.id) {
                 this.get(this.form.id);
+            }eles{
+                //当前时间
+                this.form.contentDatetime = ms.util.date.fmt(Date.now(),"yyyy-MM-dd hh:mm:ss")
             }
 
             if (this.type) {