Prechádzať zdrojové kódy

fix: 修复option类型错误问题

奔跑的面条 3 rokov pred
rodič
commit
536faa2778

+ 1 - 2
src/settings/chartThemes/global.theme.json

@@ -77,6 +77,5 @@
     "textStyle": {
       "color": "#B9B8CE"
     }
-  },
-  "dataset": null
+  }
 }

+ 1 - 0
src/settings/chartThemes/index.ts

@@ -85,6 +85,7 @@ export const chartColorsSearch = {
 // 默认主题详细配置
 type ThemeJsonType = typeof themeJson
 export interface GlobalThemeJsonType extends Partial<ThemeJsonType> {
+  dataset: any,
   [T:string]: any
 }
 export const globalThemeJson = themeJson