提交 ab259cfb 编写于 作者: RedPig97's avatar RedPig97

update:缩进调整

上级 4159ac0f
......@@ -127,16 +127,16 @@ export class GridControl extends MDControl {
}
},
onChange: (_selectedRowKeys: string[], selectedRows: any[]) => {
this.state.selectedRowKeys = _selectedRowKeys;
const selection: IParam[] = [];
selectedRows.forEach((select: IParam) => {
if (!select.children) {
selection.push(select);
}
})
// 选中赋值
this.state.selectedData = selection;
this.emit("ctrlEvent", { tag: this.props.name, action: "selectionChange", data: selection })
this.state.selectedRowKeys = _selectedRowKeys;
const selection: IParam[] = [];
selectedRows.forEach((select: IParam) => {
if (!select.children) {
selection.push(select);
}
})
// 选中赋值
this.state.selectedData = selection;
this.emit("ctrlEvent", { tag: this.props.name, action: "selectionChange", data: selection })
},
};
});
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册