Authored by weiqingting

时间控件

... ... @@ -65,6 +65,9 @@ import dateMonths from "./dateMonths.vue"
},
computed:{
date(){
if(this.dateTime.year){
this.value=this.showDate(this.dateTime,this.format);
}
return this.showDate(this.dateTime,this.format);
},
isshow(){
... ... @@ -111,6 +114,7 @@ import dateMonths from "./dateMonths.vue"
minute:dateTime.getMinutes(),
second:dateTime.getSeconds()
}
this.value=this.showDate(this.dateTime,this.format);
}
}
</script>
\ No newline at end of file
... ...