elmentUI ,el-date-pickder日期显示出不来

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>
   


![image.png](/img/bVbEl4x)
阅读 3k
1 个回答
推荐问题