From 5eac071595b5ed09440c96106c7f98767dcaabfa Mon Sep 17 00:00:00 2001
From: Tevin <tingquanren@163.com>
Date: Fri, 26 Aug 2022 16:11:01 +0800
Subject: [PATCH] 增加显示调试面板的公共方法

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