docs: 优化注释
This commit is contained in:
parent
0c23ef9f8c
commit
de349901df
@ -2,7 +2,7 @@ import type { App } from "vue"
|
||||
import * as ElementPlusIconsVue from "@element-plus/icons-vue"
|
||||
|
||||
export function installElementPlusIcons(app: App) {
|
||||
// 注册所有 Element Plus Icon
|
||||
// 注册所有 Element Plus Icons
|
||||
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
|
||||
app.component(key, component)
|
||||
}
|
||||
|
@ -2,5 +2,6 @@ import type { App } from "vue"
|
||||
import SvgIcon from "~virtual/svg-component"
|
||||
|
||||
export function installSvgIcon(app: App) {
|
||||
// 注册 SvgIcon 组件
|
||||
app.component("SvgIcon", SvgIcon)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user