跳转至

Jeecg下拉单选字典

字典标签: http://doc.jeecg.com/2043989

示例:v-decorator用法

注意得加参数 :triggerChange="true",不然赋值不成功

<a-form-item :label-col="labelCol" :wrapper-col="wrapperCol" label="项目报告输入种类">
  <j-dict-select-tag
    v-decorator="['reportType', validatorRules.reportType]"
    placeholder="请选择报告输出种类"
    dict-code="proofreading_report_type"
  />
</a-form-item>

示例: v-model用法

<j-dict-select-tag v-model="queryParam.sex" placeholder="请输入用户性别" dictCode="sex"/>