Merge branch 'feat/rax-miniapp' of http://gitlab.alibaba-inc.com/ali-lowcode/ali-lowcode-engine into feat/rax-miniapp

This commit is contained in:
wanying.jwy 2020-08-27 16:14:03 +08:00
commit 8d062313a5

View File

@ -307,15 +307,7 @@ designer.addPropsReducer((props: any, node: Node) => {
if (node.isRoot()) {
if (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;
console.log(props);
}
}
return props;