|
@@ -174,17 +174,12 @@ export default {
|
|
|
yAxisOptions,
|
|
|
drawOption
|
|
|
}
|
|
|
- // console.log(options,'options');
|
|
|
- // return
|
|
|
const { theme } = this.formData;
|
|
|
-
|
|
|
- // let ChartImage = await this.setChartImage();
|
|
|
- // console.log(themeName || this.themeOpts.find(_ => _.ChartThemeId===this.formData.theme).ChartThemeName,'fsdf');
|
|
|
- // return
|
|
|
+ let ChartImage = await this.setChartImage();
|
|
|
let res= await chartThemeInterface.saveTheme({
|
|
|
ChartThemeName: themeName || this.themeOpts.find(_ => _.ChartThemeId===this.formData.theme).ChartThemeName,
|
|
|
ChartThemeId: theme,
|
|
|
- // ChartImage,
|
|
|
+ ChartImage,
|
|
|
Config: JSON.stringify(options)
|
|
|
})
|
|
|
|