let day = new Date(this.dataForm.lastDate).getTime() - new Date(this.dataForm.firstDate).getTime();//日期转时间戳
let dayCount = Math.floor(day / 86400000) ;//时间戳获取天数
目前就这样,有失误的话再补充
let day = new Date(this.dataForm.lastDate).getTime() - new Date(this.dataForm.firstDate).getTime();//日期转时间戳
let dayCount = Math.floor(day / 86400000) ;//时间戳获取天数
目前就这样,有失误的话再补充