From 77c9c0888b359531620fd804437d7995b72f25c2 Mon Sep 17 00:00:00 2001 From: smallwei <1634566606@qq.com> Date: Fri, 23 Aug 2024 17:04:53 +0800 Subject: [PATCH] feat:date editable params gitee_IALZWR --- packages/element-ui/date/index.vue | 5 ++++- packages/element-ui/time/index.vue | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) 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,