feat(projects): page manage_menu operateDrawer

This commit is contained in:
Soybean
2024-01-30 00:33:26 +08:00
parent e2085e058d
commit db17c916ef
8 changed files with 130 additions and 22 deletions

9
src/utils/icon.ts Normal file
View File

@@ -0,0 +1,9 @@
export function getLocalIcons() {
const svgIcons = import.meta.glob('/src/assets/svg-icon/*.svg');
const keys = Object.keys(svgIcons)
.map(item => item.split('/').at(-1)?.replace('.svg', '') || '')
.filter(Boolean);
return keys;
}