From cb3098b11e63171ea13865e9ea67e19fe15ef079 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Wed, 02 Mar 2022 12:11:24 +0800 Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components --- forms/datePicker/CDatePicker.vue | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/forms/datePicker/CDatePicker.vue b/forms/datePicker/CDatePicker.vue index e58bd51..4f3d64c 100644 --- a/forms/datePicker/CDatePicker.vue +++ b/forms/datePicker/CDatePicker.vue @@ -6,7 +6,7 @@ <template> <view class="c-date-picker" - :class="readyOnly ? 'read-only':''" + :class="readOnly ? 'read-only':''" > <CDateRangeAction v-if="mode==='dateRange'" @@ -23,7 +23,7 @@ :placeholder="placeholder" > <view - v-show="!readyOnly" + v-show="!readOnly" class="at-icon at-icon-chevron-right" /> </AtInput> @@ -43,7 +43,7 @@ :placeholder="placeholder" > <view - v-show="!readyOnly" + v-show="!readOnly" class="at-icon at-icon-chevron-right" /> </AtInput> @@ -65,7 +65,7 @@ :placeholder="placeholder" > <view - v-show="!readyOnly" + v-show="!readOnly" class="at-icon at-icon-chevron-right" /> </AtInput> @@ -104,7 +104,7 @@ // 结束日期 limitEnd: String, // 是否只读 - readyOnly: { + readOnly: { type: Boolean, default: false, }, -- Gitblit v1.9.1