getDetail() {
postRequestN({ id: this.seasonForm.id }, '/game/quesPrize/season').then(res => {
if (res.code === 0) {
this.seasonForm = res.data
this.pushDate = new Date(res.data.pushTime)
this.date[0] = res.data.startTime
this.date[1] = res.data.endTime
console.log(this.date)
}
})
},
<el-form-item label="赛季时间:">
<el-date-picker
v-model="date"
type="daterange"
range-separator="~"
start-placeholde="开始日期"
end-placeholde="结束日期"/>
</el-form-item>

我在 jsfiddle 上验证了一下,应该是你在data里初始化 date 时,没有初始化为[] 导致的
https://jsfiddle.net/liangxh/...