Closed crossskyLi closed 2 years ago
Would you please provide a reproduction about this issue you fixed?
import IconVue from '@element-plus/icons-vue' IconVue(App)
Please upgrade to latest version. I can't reproduce it.
import { createApp } from 'vue'
import icons from '@element-plus/icons-vue/global'
import App from './App.vue'
const app = createApp(App) // or .use(icons)
icons(app)
app.mount('#app')
If you write code like this, won't you report errors?
So without minimum reproduction, I can't give you any help.
I mean, a real project.
If you write code like this, won't you report errors?
I see you've fixed the situation I was trying to fix, at last few version you can close my request. Thank you.
fix the error when options is
{}
or undefined, but the prefix is undefined