mirror of
https://github.com/soybeanjs/soybean-admin.git
synced 2025-12-25 22:30:19 +08:00
feat(projects): theme store完成
This commit is contained in:
@@ -2,5 +2,6 @@ export * from './typeof';
|
||||
export * from './console';
|
||||
export * from './color';
|
||||
export * from './number';
|
||||
export * from './object';
|
||||
export * from './icon';
|
||||
export * from './design-pattern';
|
||||
|
||||
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