mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-03-07 19:17:07 +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) {
|
||||
val = {
|
||||
type: 'variable',
|
||||
value: val.mock,
|
||||
variable: val.value,
|
||||
}
|
||||
}
|
||||
// if (isJSExpression(val) && !val.events) {
|
||||
// val = {
|
||||
// type: 'variable',
|
||||
// value: val.mock,
|
||||
// variable: val.value,
|
||||
// }
|
||||
// }
|
||||
newProps[key] = val;
|
||||
});
|
||||
return newProps;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user