<a-radio-group v-model="this.radioType" v-decorator="['radioGroup', { rules: [{ required: true, message: '请配置XXXX' }], initialValue: 0 }]" @change="onRadioChange"> 目前添加页面中的默认选中ok,initialValue: 0可以选中对应的:value="0",编辑页面我这边还需要再确认。非常感谢@sendya sen...
<a-radio value="apple" checked defaultChecked >Apple</a-radio> value选中参数值 checked是否选中 defaultChecked是否默认选中 通过配合a-radio-group组建获取和赋值 <a-radio-group :defaultValue="fdata" name="fruits" @change="userChange" value="currentValue"> ... </a-radio-group> a-radio-group的...
| on-change | 绑定的值变化时触发 | 选中的选项值,类型为 `String`,`Number` 或者`Array` | <script lang="ts"> import { Vue, Component, Prop, PropSync, Watch, Mixins, Provide } from "vue-property-decorator"; export default class Dropdown extends Vue { model1='' model2='2' model3=...