From a9d4bbc24d9f6240fdd2dc080a457ddbc823d303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=97=B6=E5=90=AF=E9=BE=99?= Date: Tue, 27 Aug 2024 16:08:05 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E8=A7=A3=E5=86=B3=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../module/attribute-pool/components/{index.ts => index.js} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename webs/ams-web/src/views/module/attribute-pool/components/{index.ts => index.js} (93%) 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` }