fixed Layout bug

fixed Layout bug
This commit is contained in:
梁灏 2016-12-26 14:50:39 +08:00
parent c6fecfd476
commit 9d844d5318
9 changed files with 281 additions and 23 deletions

View 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;
}
};