222
schangxiang@126.com
2025-04-30 9bec4dcae002f36aa23231da11cb03a156b40110
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]) {