feat: 新增 X轴 / Y轴 字体大小、单位编辑

This commit is contained in:
奔跑的面条
2022-06-27 21:35:27 +08:00
parent 8c74b8e8df
commit 2259545094
3 changed files with 74 additions and 10 deletions
+2 -6
View File
@@ -10,12 +10,8 @@ import { globalThemeJson } from '@/settings/chartThemes/index'
* @param excludes 排除元素
* @returns object
*/
export const mergeTheme = <T, U>(
option: T,
themeSetting: U,
includes: string[]
) => {
return option = merge({}, pick(themeSetting, includes), option)
export const mergeTheme = <T, U>(option: T, themeSetting: U, includes: string[]) => {
return (option = merge({}, pick(themeSetting, includes), option))
}
/**