Skip to content

Encapsulating the business component library based on Antd prompts Cannot read properties of null (reading 'setupContext') #6408

@sdykDH

Description

@sdykDH
  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.2.16

Environment

win10 版本 108.0.5359.99(正式版本) (64 位) vue3.2.13

Reproduction link

https://github.com/sdykDH/antd-issue

Steps to reproduce

启动 vue_ant 项目即可

What is expected?

使用 <script setup> 或者 使用defineComponent 二次封装 Antd显示以及功能正常

What is actually happening?

使用 <script setup> Antd inject 报错 使用defineComponent antd组件未渲染

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions