From 55bf797dcc730b37bc691ebab2b51ff9db8ed245 Mon Sep 17 00:00:00 2001 From: zs <zhousong@weben-smart.com> Date: 周二, 06 5月 2025 17:37:23 +0800 Subject: [PATCH] 修改代码样式 --- 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