Skip to content

fix: fix story-placeholder error#56

Merged
eternalsky merged 1 commit intomainfrom
fix/fix-story-placeholder
Aug 21, 2023
Merged

fix: fix story-placeholder error#56
eternalsky merged 1 commit intomainfrom
fix/fix-story-placeholder

Conversation

@liujuping
Copy link
Collaborator

@liujuping liujuping commented Aug 21, 2023

@liujuping liujuping requested a review from eternalsky August 21, 2023 07:42
onResizeStart: (e, currentNode) => {
const parent = currentNode.getParent();
onResizeStart: (e, currentNode: INode) => {
const parent = currentNode.parent;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

感觉这里是唯一的逻辑修改点,但是没看懂和修复的 bug 之间的关系

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

引擎bug是没有抛出正确的错误,在这个 PR 里面修复了。

alibaba/lowcode-engine#2393

这个错误修复之后,会抛出物料的错误,就是 getParent is not a funtion.

@eternalsky eternalsky merged commit 995c71d into main Aug 21, 2023
@eternalsky eternalsky deleted the fix/fix-story-placeholder branch August 21, 2023 08:09
@eternalsky
Copy link
Collaborator

@alifd/fusion-ui@2.0.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

demo中需求占位组件拖拽尺寸大小时报错

2 participants