feat: 部门管理

This commit is contained in:
kailong321200875
2023-08-05 14:13:42 +08:00
parent 5fc57bdb08
commit 28d0785be8
17 changed files with 655 additions and 60 deletions

View File

@@ -108,3 +108,7 @@ export const isDark = (): boolean => {
export const isImgPath = (path: string): boolean => {
return /(https?:\/\/|data:image\/).*?\.(png|jpg|jpeg|gif|svg|webp|ico)/gi.test(path)
}
export const isEmptyVal = (val: any): boolean => {
return val === '' || val === null || val === undefined
}