iview 在使用日期控件時(shí),日期控件顯示日期為 2017-7-03,在進(jìn)行數(shù)據(jù)雙向綁定時(shí),發(fā)現(xiàn)取出的值為2017-07-03T16:00:00.000Z
1.解決方法
@on-change=“startTime=$event”
<Date-picker placeholder="選擇日期" type="datetime" v-model="startTime" format="yyyy-MM-dd" @on-change="startTime=$event" ></Date-picker>