From 175778137478488ba346f083ed3d6cdc55256419 Mon Sep 17 00:00:00 2001
From: schangxiang@126.com <schangxiang@126.com>
Date: 周六, 03 5月 2025 17:49:51 +0800
Subject: [PATCH] 22
---
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