mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2026-02-28 12:50:38 +00:00
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:
commit
3b4f6cd43c
@ -38,9 +38,10 @@
|
||||
top: 8px;
|
||||
.@{scope}-canvas-viewport {
|
||||
width: auto;
|
||||
top: 90px;
|
||||
top: 50px;
|
||||
left: 0px;
|
||||
right: 0px;
|
||||
margin-top: 40px;
|
||||
max-height: 688px;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
import { isJSBlock, isJSExpression, isJSSlot, isI18nData } from '@ali/lowcode-types';
|
||||
import { isPlainObject, hasOwnProperty } from '@ali/lowcode-utils';
|
||||
import { isPlainObject, hasOwnProperty, cloneDeep } from '@ali/lowcode-utils';
|
||||
import { globalContext, Editor } from '@ali/lowcode-editor-core';
|
||||
import { Designer, LiveEditing, TransformStage, Node, getConvertedExtraKey } from '@ali/lowcode-designer';
|
||||
import Outline, { OutlineBackupPane, getTreeMaster } from '@ali/lowcode-plugin-outline-pane';
|
||||
@ -306,7 +306,7 @@ designer.addPropsReducer(deepValueParser, TransformStage.Render);
|
||||
designer.addPropsReducer((props: any, node: Node) => {
|
||||
if (node.isRoot()) {
|
||||
if (props.dataSource) {
|
||||
const { online } = props.dataSource;
|
||||
const online = cloneDeep(props.dataSource.online);
|
||||
online.forEach((item: any) => {
|
||||
const newParam: any = {};
|
||||
if (item.options && item.options.params && item.options.params.length) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user