After changed Date&Time, DatePicker showing old value (React, DatePicker)

前端 未结 0 873
一生所求
一生所求 2020-12-01 20:30

I have DatePicker:

    const { state } = useLocation();
    const [dateVisit, setDateVisit] = useState(new Date());
    
    const editVist = asy         


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