fixed Layout bug
fixed Layout bug
This commit is contained in:
parent
c6fecfd476
commit
9d844d5318
9 changed files with 281 additions and 23 deletions
39
src/components/date-picker/picker/time-picker.js
Normal file
39
src/components/date-picker/picker/time-picker.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
import Picker from '../picker.vue';
|
||||
import TimePanel from '../panel/time.vue';
|
||||
|
||||
export default {
|
||||
mixins: [Picker],
|
||||
props: {
|
||||
value: {},
|
||||
disabledHours: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
disabledMinutes: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
disabledSeconds: {
|
||||
type: Array,
|
||||
default () {
|
||||
return [];
|
||||
}
|
||||
},
|
||||
hideDisabledOptions: {
|
||||
type: Boolean,
|
||||
default: false
|
||||
}
|
||||
},
|
||||
data () {
|
||||
return {
|
||||
type: 'time'
|
||||
};
|
||||
},
|
||||
created () {
|
||||
this.panel = TimePanel;
|
||||
}
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue