鍍金池/ 問答/網(wǎng)絡(luò)安全  HTML/ elementui: datepicker type='week' 報(bào)錯(cuò)

elementui: datepicker type='week' 報(bào)錯(cuò)

elementui: datepicker type='week' 報(bào)TypeError: src.getTime is not a function

<el-date-picker
      v-if ="item.comparedRange"
      size="small"
      v-model="weekValue2"
      type="week"
      format="yyyy-MM-dd "
      value-format = "dd"
      placeholder="選擇周"
      :picker-options="weekPickerOptions">
 </el-date-picker>

報(bào)錯(cuò):

圖片描述

查看了下github issus :
https://github.com/ElemeFE/el...

似乎還沒有解決

有沒有小伙伴遇到過,有什么解決方案。

需要指出的是,雖然報(bào)錯(cuò),但是還是能夠取值,只是選值后不渲染format(下圖是選值后)

圖片描述

回答
編輯回答
葬愛

請(qǐng)問 你解決了么

2017年5月28日 18:33