!267 【工作流】加签和减签

Merge pull request !267 from Youkehai/feature/addSignAndSubSign
This commit is contained in:
芋道源码
2023-10-17 11:01:18 +00:00
committed by Gitee
8 changed files with 380 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
}