fix: 【工作流】--加签减签

This commit is contained in:
kehaiyou
2023-10-08 22:35:50 +08:00
parent a438353308
commit 683e319c72
8 changed files with 367 additions and 17 deletions

View File

@ -19,6 +19,9 @@ export const isObject = (val: any): val is Record<any, any> => {
}
export const isEmpty = <T = unknown>(val: T): val is T => {
if (val === null) {
return true
}
if (isArray(val) || isString(val)) {
return val.length === 0
}