Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug report] 使用自定义图片继承RectNewNode,下载时候的时候发现只有连线,并没有自定义图标 #1319

Closed
lixing0323 opened this issue Aug 31, 2023 · 1 comment

Comments

@lixing0323
Copy link

lixing0323 commented Aug 31, 2023

问题描述

使用自定义图片,继承RectNewNode,拖拽在画布上正常显示。可是通过lf.getSnapshot() 下载,发现下载的图片只有连线,没有自定义图片。

这3个为自定义图标,继承的是RectResize,跟RectNewNode类似。
image
然后通过 getSnapshot 方法下载,图片显示为
image

版本如下:
"@logicflow/core": "^1.2.12",
"@logicflow/extension": "^1.2.13",
"vue": "2.6.14",

@wumail
Copy link
Collaborator

wumail commented Aug 31, 2023

示例的实现有些问题,👀 #1076

@wumail wumail closed this as completed Aug 31, 2023
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

No branches or pull requests

2 participants