add number to prop type for radio and dropdown (#11924)

This commit is contained in:
Azri Kahar
2022-03-03 23:38:08 +08:00
committed by GitHub
parent dec85f5659
commit b44f9dd8d0
3 changed files with 4 additions and 4 deletions

View File

@@ -20,11 +20,11 @@ import { defineComponent, computed } from 'vue';
export default defineComponent({
props: {
value: {
type: String,
type: [String, Number],
required: true,
},
modelValue: {
type: String,
type: [String, Number],
default: null,
},
label: {

View File

@@ -36,7 +36,7 @@ export default defineComponent({
default: false,
},
value: {
type: String,
type: [String, Number],
default: null,
},
choices: {

View File

@@ -54,7 +54,7 @@ export default defineComponent({
default: false,
},
value: {
type: String,
type: [String, Number],
default: null,
},
choices: {