chore: update radio VCA doc (#2111)

This commit is contained in:
0song
2021-05-31 14:58:41 +08:00
committed by GitHub
parent f4c46c9b1b
commit a08f9efcbb
4 changed files with 51 additions and 5 deletions

View File

@@ -14,16 +14,26 @@ Radio should not have too many options. Otherwise, use the Select component inst
</template>
<script>
import { ref } from 'vue'
export default {
setup() {
const radio = ref('1')
data () {
return {
radio
}
radio: '1'
};
}
}
</script>
<!--
<setup>
import { ref } from 'vue'
export default {
setup() {
const radio = ref('1');
return { radio }
}
}
</setup>
-->
```
:::

View File

@@ -20,6 +20,18 @@ El elemento Radio no debe tener muchas opciones. De otra manera, utilice el comp
}
}
</script>
<!--
<setup>
import { ref } from 'vue'
export default {
setup() {
const radio = ref('1');
return { radio }
}
}
</setup>
-->
```
:::

View File

@@ -22,6 +22,18 @@ Radio ne devrait pas avoir trop d'options. Dans ce cas utilisez plutôt Select.
}
}
</script>
<!--
<setup>
import { ref } from 'vue'
export default {
setup() {
const radio = ref('1');
return { radio }
}
}
</setup>
-->
```
:::

View File

@@ -22,6 +22,18 @@
}
}
</script>
<!--
<setup>
import { ref } from 'vue'
export default {
setup() {
const radio = ref('1');
return { radio }
}
}
</setup>
-->
```
:::