let datete = new Date(this.form.value0);this.form.value0 =datete.getFullYear() +"-" +(datete.getMonth() + 1) +"-" +datete.getDate();
注解:this.form.value0是data中定义的时间输入框的值