Newer
Older
Nanping_sponge_JXKH / src / components / IconSelect / requireIcons.js
@liyingjing liyingjing on 25 Oct 2023 218 bytes 海绵绩效考个
let icons = []
const modules = import.meta.glob('./../../assets/icons/svg/*.svg');
for (const path in modules) {
  const p = path.split('assets/icons/svg/')[1].split('.svg')[0];
  icons.push(p);
}

export default icons