Ant design vue 报错

Warning: `getFieldDecorator` will override `value`, so please don't set `value and v-model` directly and use `setFieldsValue` to set it.

官方说明

本人代码

 <d-select-company :multi="false" v-decorator="['topOfficeId',validatorRules.topOfficeId]" :disabled="disableSubmit" v-model = "model.topOfficeId"></d-select-company>

用v-decorator 修饰的控件不能使用v-model 赋值

Logo

前往低代码交流专区

更多推荐