<template>
	<u-radio-group v-model="modelValue" @change="defineEmits(['update:modelValue'])">
		<u-radio label="仅本店" name="only" :customStyle="customStyle"></u-radio>
		<u-radio label="全部" name="all" :customStyle="customStyle"></u-radio>
		<u-radio label="指定" name="custom" :customStyle="customStyle"></u-radio>
	</u-radio-group>
</template>

<script setup>
import { ref } from 'vue';

const customStyle = ref({
	marginRight: '20px'
});

const modelValue = defineModel('modelValue', {
	type: String,
	default: 'only'
});
</script>

<style></style>
