element icon indicating copy to clipboard operation
element copied to clipboard

date-picker value格式不清晰

Open gugotim opened this issue 9 years ago • 2 comments

<el-date-picker v-model="timeRange" type="daterange" />

timeRange: ['2016-10-02', '2016-10-26']
// 或者
timeRange: [new Date('2016-10-02'), new Date('2016-10-26')]

都会报以下错误

Cannot set property 'value' of undefined
set	
boundFn	
handleMouseEnterIcon

到底正确格式是什么?

gugotim avatar Dec 14 '16 07:12 gugotim

1.0.7已修复

gugotim avatar Dec 14 '16 07:12 gugotim

this.date = [new Date('2016-10-02'), new Date('2016-10-26')] (正确)

this.date = ['2016-10-02', '2016-10-26'] (报错)

torresyb avatar Jan 10 '17 06:01 torresyb