React在引用antd组件时,出现下面的情况,什么原因啊

2025-05-21 16:14:13
推荐回答(1个)
回答1:

重复引用了,去掉 import {Button,Modal} from 'antd'