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.01k stars 418 forks source link

renderScopedSlots没效果 #357

Open Bedroome opened 1 month ago

Bedroome commented 1 month ago

{
    type: 'object',
    properties: {
        test: {
            type: 'string',
            title: 'xxx',
            'ui:required': true,
            'ui:options': {
                renderScopedSlots: {
                    default: (props) => h('span',
                    {
                        slot: 'suffix',
                    }, '后缀')
                },
                style: {
                    boxShadow: '0 0 6px 2px #2b9939'
                }
            }
        }
    }
}

如上

请问大佬这是什么问题