💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、豆包、星火、月之暗面及文生图、文生视频 广告
~~~ import React, { Component } from "react"; class App extends Component { constructor(props) { super(props); this.state = { list: [1,2,3] } } render() { return ( <div> <ul> {this.state.list.map((item,index)=>{ return <li key={index}>{item}</li> })} </ul> </div> ) } } export default App; ~~~