chore: 解决报错
parent
3541374232
commit
a9d4bbc24d
|
@ -22,6 +22,6 @@ const vueFiles = require.context('./', true, /\.vue$/)
|
||||||
console.log(vueFiles)
|
console.log(vueFiles)
|
||||||
|
|
||||||
export const components = getModules(vueFiles)
|
export const components = getModules(vueFiles)
|
||||||
export function getCurrentComponent(type: string) {
|
export function getCurrentComponent(type) {
|
||||||
return codeMap.get(type) || `${type.toLowerCase()}-module`
|
return codeMap.get(type) || `${type.toLowerCase()}-module`
|
||||||
}
|
}
|
Loading…
Reference in New Issue