Commit a0dc7a0a by 徐煜东

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

parent 94dc68d4
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment