/** * common工具类 * @author zhongming */ export default class CommonUtil { /** * 生成UUID */ static createUUID(): string; /** * 深拷贝对象 * @param object 被拷贝对象 */ static clone(object: T): T | null; /** * 从对象列表中获取指定key并构成一个新的对象数组 * @param keys key数组 * @param objectList 原始对象数组 */ static getObjectByKeys(keys: string[], objectList: any[]): any[]; }