How to fix the 'setOption' does not exist on type 'MutableRefObject in react

后端 未结 0 588
长情又很酷
长情又很酷 2021-01-28 16:38

CODE

export default function EChart({ option, config, resize }) {

    let chart = useRef(null)
    let [chartEl, setChartEl] = useState         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题