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

在代码中设置图片浮于文字上方或衬于文字下方会导致整个页面加载后内容不显示 #484

Closed
wzy719424 opened this issue Mar 20, 2024 · 1 comment

Comments

@wzy719424
Copy link

version

0.9.69

Link to minimal reproduction

No response

Steps to reproduce

在页眉和内容区里,通过代码设置图片的imgDisplay属性为FLOAT_BOTTOM或FLOAT_TOP时会导致页面加载后内容不显示。
image
image

What is expected?

代码预先设置好的文字图片等内容,在页面加载后都能正常显示出来

What is actually happening?

image

System Info

No response

Any additional comments?

No response

@Hufe921
Copy link
Owner

Hufe921 commented Mar 20, 2024

必须要有悬浮坐标,如:

imgDisplay: ImageDisplay.FLOAT_TOP,
  imgFloatPosition: {
    x: 100,
    y: 100
  },
  type: ElementType.IMAGE

考虑增加代码兼容此数据

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