link 取变量默认不做 html 转义

This commit is contained in:
2betop 2020-11-26 19:43:49 +08:00
parent bfdaaad73f
commit 4305cc3acb

View File

@ -46,7 +46,7 @@ export class LinkField extends React.Component<LinkProps, object> {
} = this.props;
let value = this.props.value;
const finnalHref = href ? filter(href, data) : '';
const finnalHref = href ? filter(href, data, '| raw') : '';
return (
<a