zhangwencui
4 天以前 8a5e5761cd56fedcf7573e42f4ceade45527039b
1
2
3
4
5
6
7
8
9
10
import * as components from '@element-plus/icons-vue'
 
export default {
  install: (app) => {
    for (const key in components) {
      const componentConfig = components[key]
      app.component(componentConfig.name, componentConfig)
    }
  }
}