We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
<t-grid-item t-class="grid" image="../../images/icon/systeminfo.png" badge-props="{{ { count: 8 } }}" />
控制台报渲染错误 实测 image 标签可以渲染
建议支持本地图片渲染
The text was updated successfully, but these errors were encountered:
👋 @7757,感谢给 TDesign 提出了 issue。 请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。
Sorry, something went wrong.
@7757 原因:grid-item使用的是t-image组件(二封的原生image),所以使用本地图片相对路径时,这个路径不是相对于调用组件的文件的位置,要相对于t-iamge图片组件源码的位置。
这里提供一个容易理解和执行的使用本地图片的方式:改用相对根路径。
/assets/xxx.jpg
No branches or pull requests
这个功能解决了什么问题
控制台报渲染错误
实测 image 标签可以渲染
你建议的方案是什么
建议支持本地图片渲染
The text was updated successfully, but these errors were encountered: