mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-31 02:02:48 +00:00
feat: 工作编排
This commit is contained in:
parent
29d367bde3
commit
5c165a2560
|
|
@ -1,5 +1,5 @@
|
|||
const icons: any = import.meta.glob('./**.vue', { eager: true })
|
||||
export function iconComponent(name: string) {
|
||||
const url = `./icons/${name}.vue`
|
||||
const url = `./${name}.vue`
|
||||
return icons[url]?.default || null
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue