当前位置: 代码迷 >> 综合 >> [vue]you can not set a form field before rendering a field associated with the value. you can use ‘g
  详细解决方案

[vue]you can not set a form field before rendering a field associated with the value. you can use ‘g

热度:20   发布时间:2023-12-12 01:11:37.0

solution

you can not set a form field before rendering a field associated with the value.
you can use ‘getFieldDecorator’ instead v-decorator to register it before render

原因是不能给多传form的参数,比如id
只能选择当前页面form绑定的字段

  相关解决方案