试一下这样// 查找 modules下所有以后缀为.ts结尾的子文件(一级和二级) const modules = import.meta.globEager('./modules/**/*.ts');思路来源 vue-vben-admin⇲
试一下这样
思路来源 vue-vben-admin⇲