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); } }, };