-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
🧐[问题] Ant Design Pro 表格某一列不需要html转义 #9262
Comments
以下的 Issues 可能会帮助到你 / The following issues may help you
|
react 为了解决xss的问题,永远都会转的。你用pre 或者 code 包一下。
|
This was referenced Nov 28, 2021
This was referenced Dec 7, 2021
This was referenced Jan 8, 2022
This was referenced Jan 21, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
🧐 问题描述
Ant Design Pro 表格某一列不需要html转义
{
title: '指纹',
dataIndex: 'fingerprint',
valueType: 'text',
},
表格这一列,数据返回没有转义
"fingerprint":"<span class="ant-tag ant-tag-red"> Shiro ",
前端显示时,转义了,
怎么原样输出?
💻 示例代码
🚑 其他信息
The text was updated successfully, but these errors were encountered: