소스 검색

描述改为非必填

asd123a20 2 년 전
부모
커밋
964b9f2ddf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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 },
   // 绑定栏目