zhangwencui
2 天以前 a702bd5a0f894eae4dc1bf3ce850ab71ad637be9
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)
    }
  }
}