forms/switch/CSwitchRadio.vue
@@ -1,5 +1,5 @@ /** * CSwitchRadio * CSwitchRadio 开关式单选框 * @author Tevin */ @@ -102,7 +102,7 @@ }, mounted() { if (process.env.TARO_ENV === 'h5') { $(this.$refs.switch.$el).find('.at-switch').prepend(this.$refs.radio.$el); $(this.$refs.switch.$el).append(this.$refs.radio.$el); } else if (process.env.TARO_ENV === 'weapp') { $(this.$refs.switch.$el).find('.at-switch').append(this.$refs.radio); }