react实用技巧
1.dangerouslySetInnerHTML 转义html标签
|
|
2.获取url内的参数
this.props.location.querry.name
其实这个可以打印下props看一下,因为有段时间不写了,一时间没有想起来。
-- EOF --
本文链接:http://yoursite.com/2017/03/31/react实用技巧/
发表于2017-03-31 21:05:55,并被添加「 react 」标签,最后修改于2018-05-24 17:08:42