Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
a0dc7a0a
authored
Apr 05, 2025
by
徐煜东
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(bpm): bpm开启,gateway及bpm改造,bpm前端bug解决
parent
94dc68d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
pnpm-lock.yaml
+0
-0
src/utils/index.ts
+17
-0
No files found.
pnpm-lock.yaml
View file @
a0dc7a0a
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/utils/index.ts
View file @
a0dc7a0a
...
...
@@ -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
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment