From 4b774f04653a89513bc8f847920529c08507f564 Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Fri, 26 Aug 2022 16:13:55 +0800
Subject: [PATCH] Merge branch 'master' of ssh://dev.zhiheiot.com:29418/mob-components

---
 forms/checkbox/CCheckBox.vue |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/forms/checkbox/CCheckBox.vue b/forms/checkbox/CCheckBox.vue
index 68b2ac2..4c5ed64 100644
--- a/forms/checkbox/CCheckBox.vue
+++ b/forms/checkbox/CCheckBox.vue
@@ -39,7 +39,7 @@
     props: {
         // 表单数据资源(表单组件内部机制专用)
         itemRes: Object,
-        // 选项列表
+        // 选项列表,单项为 {label,value}
         options: {
             type: Array,
             default: () => [],
@@ -89,7 +89,9 @@
                 .find('.at-input__container')
                 .prepend(this.$refs.check.$el);
         } else if (process.env.TARO_ENV === 'weapp') {
-            $(this.$refs.input.$el).find('.at-input__container').append(this.$refs.check);
+            $(this.$refs.input.$el)
+                .find('.at-input__container')
+                .append(this.$refs.check.$el);
         }
     },
 };

--
Gitblit v1.9.1