From f1204f4d3ec3e8bcb9c9d0be9c88fbe34e95b36c Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 13:43:33 +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