update TimePicker
update TimePicker
This commit is contained in:
parent
9d844d5318
commit
c1abaed980
3 changed files with 38 additions and 29 deletions
|
@ -1,32 +1,11 @@
|
|||
import Picker from '../picker.vue';
|
||||
import TimePanel from '../panel/time.vue';
|
||||
import Options from '../time-mixins';
|
||||
|
||||
export default {
|
||||
mixins: [Picker],
|
||||
mixins: [Picker, Options],
|
||||
props: {
|
||||
value: {},
|
||||
disabledHours: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
disabledMinutes: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
disabledSeconds: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
hideDisabledOptions: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
value: {}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue