|
@@ -6,7 +6,7 @@ const metaPlugin = require('naf-framework-mongoose-free/lib/model/meta-plugin');
|
|
|
const actTags = {
|
|
|
label: { type: String, required: false, zh: '活动标签' }, //
|
|
|
value: { type: String, required: false, zh: '编码' }, //
|
|
|
- sort: { type: Array, required: false, zh: '排序' }, //
|
|
|
+ sort: { type: Number, default: 0, required: false, zh: '排序' }, //
|
|
|
status: { type: String, required: false, default: '0', zh: '状态' }, // 字典:use
|
|
|
};
|
|
|
const schema = new Schema(actTags, { toJSON: { getters: true, virtuals: true } });
|