优艾设计网

react关于动画能运行但有警告?

优艾设计网 https://www.uibq.com 2023-04-14 19:28 出处:网络 作者:PS教程
react.js:19287 Warning: getInitialState was defined on AnimationExample, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state pr

react.js:19287 Warning: getInitialState was defined on AnimationExample, a plain JavaScript class. This is only supported for classes created using React.createClass. Did you mean to define a state prop优艾设计网_PS百科erty instead?

这是我在写一个简单的动画效果时,遇到的问题,动画效果是能运行的,但是这个提示不知道什么情况,还请高手指教


0

精彩评论

暂无评论...
验证码 换一张
取 消