antd 4.19.4 版本
// 这样没有问题
import {Button} from ‘antd’
console.log(Button)
// 这样就报错
import * as antd from ‘antd’
console.log(antd)
antd 4.19.4 版本
// 这样没有问题
import {Button} from ‘antd’
console.log(Button)
// 这样就报错
import * as antd from ‘antd’
console.log(antd)
4 回答1.6k 阅读
2 回答978 阅读✓ 已解决
2 回答1k 阅读✓ 已解决
2 回答2.6k 阅读
1 回答920 阅读✓ 已解决
1 回答654 阅读✓ 已解决
2 回答806 阅读✓ 已解决