Closed xplloveyxl closed 5 months ago
statusValue: { type: "array", title: "流转状态", description: "需求状态" + "筛选完后,子任务不会脱离父任务单独显示,除非没有权限看到父任务。", uniqueItems: true, items: { type: "string", enum: ["需求分析", "设计中", "开发中", "测试中", "已上线", "已关闭"], enumNames: ["需求分析", "设计中", "开发中", "测试中", "已上线", "已关闭"] }, "ui:widget": "SelectWidget", "ui:options": { width: "250px", attrs: { placeholder: "状态", collapseTags: true, collapseTagsTooltip: true, }, renderScopedSlots() { // default没起效果 return { default: (props) => h("span", ".com") }; } } }
SelectWidget 组件不支持插槽
SelectWidget
statusValue: { type: "array", title: "流转状态", description: "需求状态" + "
筛选完后,子任务不会脱离父任务单独显示,除非没有权限看到父任务。", uniqueItems: true, items: { type: "string", enum: ["需求分析", "设计中", "开发中", "测试中", "已上线", "已关闭"], enumNames: ["需求分析", "设计中", "开发中", "测试中", "已上线", "已关闭"] }, "ui:widget": "SelectWidget", "ui:options": { width: "250px", attrs: { placeholder: "状态", collapseTags: true, collapseTagsTooltip: true, }, renderScopedSlots() { // default没起效果 return { default: (props) => h("span", ".com") }; } } }