mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-10 09:56:20 +00:00
remove 乐高临时兼容代码
This commit is contained in:
parent
26c307ec7b
commit
5e8ef87798
@ -172,13 +172,13 @@ function compatiableReducer(props: any) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// 为了能降级到老版本,建议在后期版本去掉以下代码
|
// 为了能降级到老版本,建议在后期版本去掉以下代码
|
||||||
if (isJSExpression(val) && !val.events) {
|
// if (isJSExpression(val) && !val.events) {
|
||||||
val = {
|
// val = {
|
||||||
type: 'variable',
|
// type: 'variable',
|
||||||
value: val.mock,
|
// value: val.mock,
|
||||||
variable: val.value,
|
// variable: val.value,
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
newProps[key] = val;
|
newProps[key] = val;
|
||||||
});
|
});
|
||||||
return newProps;
|
return newProps;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user