ivew 绑定时间控件

 <FormItem label="开始时间" style="width: 100%" prop="startDate">
         <DatePicker  :value="value1" type="datetime" format="yyyy-MM-dd HH:mm:ss" @on-change="time1" placeholder="选择日期" ></DatePicker>
      </FormItem>

  

  // 日期
    time1(e){
        console.log(e);
        this.formValidate.startDate = e;
      },

 

posted @ 2019-05-08 14:29  1点  阅读(180)  评论(0编辑  收藏  举报