🔥码云GVP开源项目 12k star Uniapp+ElementUI 功能强大 支持多语言、二开方便! 广告
`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class? ``` constrtor(props) { super(props); this.state = { value: null } } ``` ``` constructor(props) { super(props); this.state = { value: null } } ```