From 6531b52f50f7dc94ac9136d4eb1d3ecec765516e Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周三, 30 4月 2025 17:13:14 +0800 Subject: [PATCH] Merge branch 'master' of http://222.71.245.114:9086/r/HIA24016N_PipeLineDemo --- PipeLineLems/web/src/libs/Provider/Provider.ts | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/PipeLineLems/web/src/libs/Provider/Provider.ts b/PipeLineLems/web/src/libs/Provider/Provider.ts index 676363f..c3fd4ed 100644 --- a/PipeLineLems/web/src/libs/Provider/Provider.ts +++ b/PipeLineLems/web/src/libs/Provider/Provider.ts @@ -1,6 +1,7 @@ import { onBeforeMount, onUnmounted, reactive, ref, toRefs, Ref } from 'vue' import set from 'lodash/set' import get from 'lodash/get' +import { Base } from '@/libs/Base/Base' interface ControllerType { Models: Record<string, Function> @@ -13,7 +14,7 @@ * @returns */ const extractNameFromPath = (filePath: string) => { - const regex = /\/([^\/0-9][A-Za-z-0-9]+)\.ts$/ + const regex = /\/([A-Za-z]+)\.ts$/ const match = filePath.match(regex) if (match && match[1]) { -- Gitblit v1.9.3