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] 使用数据懒加载后自定义icon中使用了width这类属性后导致渲染不出来 #1905

Closed
linrufeng opened this issue Jun 13, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@linrufeng
Copy link

Version

1.2.0

Link to Minimal Reproduction

https://visactor.io/vtable/demo/custom-render/custom-icon

Steps to Reproduce

使用文档中的数据懒加载 并配置自定义icon

Current Behavior

这是文档中的例子

icon: {
      type: 'image',
      src: 'avatar',
      name: 'avatar_pic',
      shape: 'circle',
      width: 30, // Optional
      height: 30,
      positionType: VTable.TYPES.IconPosition.contentLeft,
      marginRight: 20,
      marginLeft: 0,
      cursor: 'pointer'
}

Expected Behavior

希望懒加载能够正常展示

Environment

- OS:
- Browser: Chrome 
- Framework:

Any additional comments?

No response

@linrufeng linrufeng added the bug Something isn't working label Jun 13, 2024
Rui-Sun added a commit that referenced this issue Jun 21, 2024
Rui-Sun added a commit that referenced this issue Jun 21, 2024
@Rui-Sun Rui-Sun closed this as completed Jun 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants