From 846a5ab3a1f0d399a9891bc0880765fbf1e14608 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Tue, 01 Mar 2022 10:10:21 +0800
Subject: [PATCH] 下拉选择组件,支持只读模式

---
 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