Explorar o código

描述改为非必填

asd123a20 %!s(int64=2) %!d(string=hai) anos
pai
achega
964b9f2ddf
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      service-cms/app/model/content.js

+ 1 - 1
service-cms/app/model/content.js

@@ -14,7 +14,7 @@ const SchemaDefine = {
   // 标题
   title: { type: String, required: true },
   // 描述
-  describe: { type: String, required: true },
+  describe: { type: String, required: false },
   // 内容
   content: { type: String, required: true },
   // 绑定栏目