mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +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();
|
const { isRGL, rglNode } = node.getRGL();
|
||||||
if (isRGL) {
|
if (isRGL) {
|
||||||
// 复制 layout 信息
|
// 复制 layout 信息
|
||||||
let layout = rglNode.getPropValue('layout') || [];
|
const layout = rglNode.getPropValue('layout') || [];
|
||||||
let curLayout = layout.filter((item) => item.i === node.getPropValue('fieldId'));
|
const curLayout = layout.filter((item) => item.i === node.getPropValue('fieldId'));
|
||||||
if (curLayout && curLayout[0]) {
|
if (curLayout && curLayout[0]) {
|
||||||
layout.push({
|
layout.push({
|
||||||
...curLayout[0],
|
...curLayout[0],
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user