Explorar o código

fix(bpm): bpm开启,gateway及bpm改造,bpm前端bug解决

徐煜东 hai 4 meses
pai
achega
a0dc7a0a4b
Modificáronse 2 ficheiros con 2297 adicións e 6547 borrados
  1. 2280 6547
      pnpm-lock.yaml
  2. 17 0
      src/utils/index.ts

A diferenza do arquivo foi suprimida porque é demasiado grande
+ 2280 - 6547
pnpm-lock.yaml


+ 17 - 0
src/utils/index.ts

@@ -536,3 +536,20 @@ export const sliceName = (name: string, start: number, end: number) => {
   }
   return name
 }
+
+
+
+/**
+ * 截取字符串
+ *
+ * @param str 字符串
+ * @param start 开始位置
+ * @param end 结束位置
+ */
+
+export const subString = (str: string, start: number, end: number) => {
+  if (str.length > end) {
+    return str.slice(start, end)
+  }
+  return str
+}

Algúns arquivos non se mostraron porque demasiados arquivos cambiaron neste cambio