Could you tell me how to output the img tag in the object into a picture?

clipboard.png

clipboard.png
?

clipboard.png

instead of using innerHTML, I use the situation where parameters are passed by react components {this.props.log}

Mar.22,2021

if you don't consider XSS, just innerHTML the tag


innerHTML


innerHTML into the tag.


innerHTML


the address of your picture happens to be a network address, so you can use
< div dangerouslySetInnerHTML= {{_ html: this.props.log}} / > to achieve the function, but I tried it. If the image address is a local address, it is not allowed.


html ()

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b379ce-e5f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b379ce-e5f9.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?