Commit b9fdf2b5 authored by yyh's avatar yyh

删除调试

parent bd7232af
export function importAll(r: any) {
const modules: any = {};
console.log(r.keys());
r.keys().forEach( (key: any) => {
console.log(key, r(key));
const m = (r(key)).default;
const n = m.extendOptions.name;
console.log(m,n);
modules[n] = m;
});
return modules;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment