mirror of
https://github.com/m-xlsea/ruoyi-plus-soybean.git
synced 2025-09-24 07:49:47 +08:00
5 lines
157 B
TypeScript
5 lines
157 B
TypeScript
/** 设置对象数据 */
|
|
export function objectAssign<T extends { [key: string]: any }>(target: T, source: Partial<T>) {
|
|
Object.assign(target, source);
|
|
}
|