chore: 去掉恼人的 console.log

This commit is contained in:
carlos.czw 2020-08-26 17:04:52 +08:00
parent fdd6978319
commit 398204bda8

View File

@ -307,15 +307,7 @@ designer.addPropsReducer((props: any, node: Node) => {
if (node.isRoot()) { if (node.isRoot()) {
if (props.dataSource) { if (props.dataSource) {
const { online } = props.dataSource; const { online } = props.dataSource;
// if (online && online.length) {
// online.forEach((item: any) => {
// if (item.dataHandler && item.dataHandler.type && item.dataHandler.type === 'js') {
// item.dataHandler.type = 'JSFunction';
// }
// });
// }
props.dataSource.list = online; props.dataSource.list = online;
console.log(props);
} }
} }
return props; return props;