form-model-item label="投诉类别" :labelCol="labelCol" :wrapperCol="wrapperCol" prop="cpAbout">
type="list" v-model="model.cpAbout" dictCode="COMPLAIN_ABOUT" placeholder="请选择投诉类别" />
form-model-item>
这段代码是一个投诉类别的下拉框,我想问一下下拉后,它是怎么绑定的展示的数据的。
j-dict-select-tag 这是一个二次封装的下拉框,你传入的list就是数据源或者是根据 dictCode 取的System Parameters,v-model 就是绑定的对应的value,根据value 去回显label