mirror of
https://gitee.com/dromara/go-view.git
synced 2026-04-23 00:00:12 +08:00
fix: 解决合并会修改原属性的bug
This commit is contained in:
@@ -22,5 +22,5 @@ export const mergeTheme = <T, U, E extends keyof U> (
|
||||
themeSetting: U,
|
||||
includes: E[] = []
|
||||
) => {
|
||||
return merge(pick(themeSetting, includes), option)
|
||||
return merge({}, pick(themeSetting, includes), option)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user