WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2022-08-26 4b774f04653a89513bc8f847920529c08507f564
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);
        }
    },
};