export default class DSJDescriptions { border = true; //是否带有边框 column = 3; //一行 Descriptions Item 的数量 direction = 'horizontal'; // 排列的方向 size = 'default'; //列表的尺寸 titile = ''; //标题文本,显示在左上方 extra = ''; //操作区文本,显示在右上方 items = []; //描述项数组 update = (opt?:any) => { //更新配置 Object.assign(this,opt); } constructor(opt?: any) { this.update(opt); } }