Pārlūkot izejas kodu

修改字段必填

asd123a20 2 gadi atpakaļ
vecāks
revīzija
12bc27f896
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  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 => {