mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 11:20:11 +00:00
refactor: Change let to const
This commit is contained in:
parent
4133b2f714
commit
c23f16d646
@ -56,8 +56,8 @@ export class ComponentActions {
|
||||
const { isRGL, rglNode } = node.getRGL();
|
||||
if (isRGL) {
|
||||
// 复制 layout 信息
|
||||
let layout = rglNode.getPropValue('layout') || [];
|
||||
let curLayout = layout.filter((item) => item.i === node.getPropValue('fieldId'));
|
||||
const layout = rglNode.getPropValue('layout') || [];
|
||||
const curLayout = layout.filter((item) => item.i === node.getPropValue('fieldId'));
|
||||
if (curLayout && curLayout[0]) {
|
||||
layout.push({
|
||||
...curLayout[0],
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user