diff --git a/webs/ams-web/src/views/module/attribute-pool/components/index.ts b/webs/ams-web/src/views/module/attribute-pool/components/index.js similarity index 93% rename from webs/ams-web/src/views/module/attribute-pool/components/index.ts rename to webs/ams-web/src/views/module/attribute-pool/components/index.js index d3947d7..56f935d 100644 --- a/webs/ams-web/src/views/module/attribute-pool/components/index.ts +++ b/webs/ams-web/src/views/module/attribute-pool/components/index.js @@ -22,6 +22,6 @@ const vueFiles = require.context('./', true, /\.vue$/) console.log(vueFiles) export const components = getModules(vueFiles) -export function getCurrentComponent(type: string) { +export function getCurrentComponent(type) { return codeMap.get(type) || `${type.toLowerCase()}-module` }