feat(projects): theme store完成
This commit is contained in:
4
src/utils/common/object.ts
Normal file
4
src/utils/common/object.ts
Normal file
@ -0,0 +1,4 @@
|
||||
/** 设置对象数据 */
|
||||
export function objectAssign<T extends { [key: string]: any }>(target: T, source: Partial<T>) {
|
||||
Object.assign(target, source);
|
||||
}
|
||||
Reference in New Issue
Block a user