From 6ea062cda5def090835cfd948957ca23ce92a639 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 13 Jun 2022 16:35:24 +0800 Subject: [PATCH] 优化App后端报错提示 --- 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