TypeError: date1.diff is not a function in DayJs

前端 未结 0 906
心在旅途
心在旅途 2021-01-18 23:04

I am using this in reactjs and getting an error i.e date1.diff is not a function. I have also tried putting parseInt(date1) before using diff function.

const          


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