12345678910111213141516171819202122232425262728 |
- <template>
- <a-radio-group
- v-model="$attrs.value"
- button-style="solid"
- @change="(e) => $emit('input', e.target.value)"
- >
- <a-radio-button v-for="(item, index) in $attrs.options" :key="index" :value="item.value">
- {{ item.label }}
- </a-radio-button>
- </a-radio-group>
- </template>
- <script>
- import components from './_import-components/xm-solid-radio-render-import'
- export default {
- name: 'XmSolidRadioRender',
- components,
- data() {
- return {}
- },
- methods: {},
- }
- </script>
- <style module lang="scss">
- @use '@/common/design' as *;
- </style>
|