mirror of
https://gitee.com/dromara/go-view.git
synced 2025-02-24 08:12: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: {
|
legend: {
|
||||||
top: '5%',
|
top: '5%',
|
||||||
left: 'center',
|
left: 'center'
|
||||||
},
|
},
|
||||||
series: [
|
series: [
|
||||||
{
|
{
|
||||||
|
@ -22,5 +22,5 @@ export const mergeTheme = <T, U, E extends keyof U> (
|
|||||||
themeSetting: U,
|
themeSetting: U,
|
||||||
includes: E[] = []
|
includes: E[] = []
|
||||||
) => {
|
) => {
|
||||||
return merge(pick(themeSetting, includes), option)
|
return merge({}, pick(themeSetting, includes), option)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user