lljj-x / vue-json-schema-form

基于Vue/Vue3,Json Schema 和 ElementUi/antd/iview3/naiveUi 等生成 HTML Form 表单,用于活动编辑器、h5编辑器、cms等数据配置;支持可视化生成表单Schema 。 Generate a form using Vue/Vue3, Json Schema and ElementUi/antdv/iview3/naiveUi
https://form.lljj.me/
Apache License 2.0
2.06k stars 420 forks source link

Vue3使用SelectWidget多选,插槽没起效果 #352

Closed xplloveyxl closed 5 months ago

xplloveyxl commented 6 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") }; } } }

lljj-x commented 6 months ago

SelectWidget 组件不支持插槽