ソースを参照

组件传值类型变化

lifanagju_citu 1 年間 前
コミット
f02ccccc26
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/components/FormUI/radioGroup/index.vue

+ 1 - 1
src/components/FormUI/radioGroup/index.vue

@@ -25,7 +25,7 @@
 import { ref, defineEmits } from 'vue';
 defineOptions({ name:'FormUI-v-text-field'})
 
-const props = defineProps({item: Object, modelValue: [String, Number]})
+const props = defineProps({item: Object, modelValue: [String, Number, Boolean]})
 const emit = defineEmits(['update:modelValue', 'change'])
 const item = props.item
 const value = ref(props.modelValue)