diff --git a/packages/element-ui/date/index.vue b/packages/element-ui/date/index.vue index e594e110..5fb8b609 100755 --- a/packages/element-ui/date/index.vue +++ b/packages/element-ui/date/index.vue @@ -50,7 +50,10 @@ export default create({ prefixIcon: String, disabledDate: Function, shortcuts: [Array, Function], - editable: Boolean, + editable: { + type: Boolean, + default: true + }, unlinkPanels: Boolean, value: {}, startPlaceholder: String, diff --git a/packages/element-ui/time/index.vue b/packages/element-ui/time/index.vue index 52d650b4..dfc9ad4c 100644 --- a/packages/element-ui/time/index.vue +++ b/packages/element-ui/time/index.vue @@ -42,7 +42,10 @@ export default create({ return {}; }, props: { - editable: Boolean, + editable: { + type: Boolean, + default: true + }, maxTime: String, minTime: String, start: String,