SpringBlade 功能模块 字段为字典类型 下拉项为字典值

option的设置

            {
              label: "类型",
              prop: "type",
              rules: [{
                required: true,
                message: "请输入类型,0->规格;1->参数。",
                trigger: "blur"
              }],
              type: "select",
              dicUrl: "/api/blade-system/dict/dictionary?code=pms_attribute_type",
              props: {
                label: "dictValue",
                value: "dictKey"
              },
            },

字典设置

原文地址:https://www.cnblogs.com/guxingy/p/13785721.html