Commit 02626e0d authored by lshan's avatar lshan

lishan

parent fba1b270
...@@ -110,15 +110,15 @@ export default Vue.extend({ ...@@ -110,15 +110,15 @@ export default Vue.extend({
handleClickLeft() { handleClickLeft() {
console.log('click left') console.log('click left')
}, },
onConfir(value) { onConfir(value:string) {
this.value = value; this.value = value;
this.showPicker = false; this.showPicker = false;
}, },
formatDate(date) { formatDate(date:Date) {
return `${date.getMonth() + 1}/${date.getDate()}`; return `${date.getMonth() + 1}/${date.getDate()}`;
}, },
onConfirm(date) { onConfirm(date:Date) {
this.showw = false; this.showw = false;
this.date = this.formatDate(date); this.date = this.formatDate(date);
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment