Skip to content

[Question] 动态解析组件异常 #504

Open
@ibubbo

Description

@ibubbo

🧐 Problem Description

在使用了 unplugin-vue-components 按需加载了 antd ui 组件库,我想写一个动态表单,但是渲染之后,就是我传入的值,而不是解析了那个组件。

💻 Sample code

setup () {
    const Tag = 'AInput';
    return () => (
        <Tag placeholder='这是一个 input' />
    )
}

没有如期解析成 input。

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions