feat(All):Initial

This commit is contained in:
2025-10-04 23:36:07 +08:00
commit 2b4e5d2668
1321 changed files with 415958 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
/**
* 验证方法
*/
export const IS_MAC = navigator.platform.toUpperCase().indexOf('MAC') >= 0;
export const isNil = (v) => v === null || v === undefined;
// 判断是否是空对象,排除数组
export const isEmptyObject = (obj:object) => typeof obj === 'object' && obj !== null && !Array.isArray(obj) && Object.keys(obj).length === 0;