From 9bec4dcae002f36aa23231da11cb03a156b40110 Mon Sep 17 00:00:00 2001 From: schangxiang@126.com <schangxiang@126.com> Date: 周三, 30 4月 2025 16:24:16 +0800 Subject: [PATCH] 222 --- 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