mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-23 15:52:49 +08:00
fix: 解决合并会修改原属性的bug
This commit is contained in:
parent
8f9e45e660
commit
f06aafd14e
@ -15,7 +15,7 @@ export default class Config extends publicConfig implements CreateComponentType
|
||||
},
|
||||
legend: {
|
||||
top: '5%',
|
||||
left: 'center',
|
||||
left: 'center'
|
||||
},
|
||||
series: [
|
||||
{
|
||||
|
@ -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)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user