feat(projects): theme store完成

This commit is contained in:
Soybean
2022-01-08 20:49:21 +08:00
parent 10e4d81bd6
commit bf020a8258
56 changed files with 1205 additions and 164 deletions

View File

@@ -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';

View File

@@ -0,0 +1,4 @@
/** 设置对象数据 */
export function objectAssign<T extends { [key: string]: any }>(target: T, source: Partial<T>) {
Object.assign(target, source);
}