ソースを参照

修改字段必填

asd123a20 2 年 前
コミット
12bc27f896
1 ファイル変更1 行追加1 行削除
  1. 1 1
      service-cms/app/model/content.js

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

@@ -34,7 +34,7 @@ const SchemaDefine = {
   // 关键词
   keywords: { type: Array, required: false, default: [] },
   // 副标题
-  curtTitle: { type: String, required: true },
+  curtTitle: { type: String, required: false },
 };
 const schema = new Schema(SchemaDefine);
 module.exports = app => {