2
0
mirror of https://github.com/tenrok/vue2-datepicker.git synced 2026-06-25 10:50:36 +03:00

fix: timeType default

This commit is contained in:
mxie
2018-09-08 12:09:28 +08:00
parent 8e475b39a1
commit 38a657b21d
+6 -1
View File
@@ -15,7 +15,12 @@ export default {
validator: val => val >= 0 && val <= 60 validator: val => val >= 0 && val <= 60
}, },
value: null, value: null,
timeType: Array, timeType: {
type: Array,
default () {
return ['24', 'a']
}
},
disabledTime: Function disabledTime: Function
}, },
computed: { computed: {