Open top-dante opened 2 years ago
3.2.0
vite vue3.2.33 webstorm
https://www.antdv.com/components/message-cn
`import {message} from 'ant-design-vue' 提示Module '"ant-design-vue"' has no exported member 'message'. Did you mean to use 'import message from "ant-design-vue"' instead?
`import {message} from 'ant-design-vue'
如何解决这个错误提示?
虽然idea报错,但是能用?各路大神路过的指点迷津
upgrade WebStorm 2022.1
Version
3.2.0
Environment
vite vue3.2.33 webstorm
Reproduction link
https://www.antdv.com/components/message-cn
Steps to reproduce
`import {message} from 'ant-design-vue'
提示Module '"ant-design-vue"' has no exported member 'message'. Did you mean to use 'import message from "ant-design-vue"' instead?What is expected?
如何解决这个错误提示?
What is actually happening?
虽然idea报错,但是能用?各路大神路过的指点迷津