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"
              },
            },

字典设置

posted @ 2020-10-09 14:44  古兴越  阅读(320)  评论(0)    收藏  举报