src/utils/dict/DictMeta.js
@@ -6,6 +6,7 @@ * @property {String} type 类型 * @property {Function} request 请求 * @property {String} label 标签字段 * @property {Object} children 子标签字段 * @property {String} value 值字段 */ export default class DictMeta { @@ -15,6 +16,7 @@ this.responseConverter = options.responseConverter this.labelField = options.labelField this.valueField = options.valueField this.childrenField = options.childrenField // 添加children变量 this.lazy = options.lazy === true } }