💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
`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 } } ```