Explorar el Código

描述改为非必填

asd123a20 hace 2 años
padre
commit
964b9f2ddf
Se han modificado 1 ficheros con 1 adiciones y 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 },
   // 绑定栏目