Closed z810276431 closed 1 year ago
将原来的Component改成React.Component 避免非外部引入react.js时报错react is not undefined
这个好像没有区别,以前的 Component 也是从 react package 引出的,会外部引入只要有 react 包就不会报错
将原来的Component改成React.Component 避免非外部引入react.js时报错react is not undefined