|
@@ -8,6 +8,7 @@ const indexModule = {
|
|
to_type: { type: String, required: false, zh: '跳转类型' }, // 字典:to_type
|
|
to_type: { type: String, required: false, zh: '跳转类型' }, // 字典:to_type
|
|
to: { type: String, required: false, zh: '跳转至' }, //
|
|
to: { type: String, required: false, zh: '跳转至' }, //
|
|
is_use: { type: String, required: false, zh: '是否使用' }, // 字典:use
|
|
is_use: { type: String, required: false, zh: '是否使用' }, // 字典:use
|
|
|
|
+ url: { type: Array, required: false, zh: '图标' }, //
|
|
};
|
|
};
|
|
const schema = new Schema(indexModule, { toJSON: { getters: true, virtuals: true } });
|
|
const schema = new Schema(indexModule, { toJSON: { getters: true, virtuals: true } });
|
|
schema.index({ id: 1 });
|
|
schema.index({ id: 1 });
|