Browse Source

缩略图问题

hbchen 4 months ago
parent
commit
7ebf988a78
1 changed files with 2 additions and 7 deletions
  1. 2 7
      src/views/system_manage/chartTheme/themeSetting.vue

+ 2 - 7
src/views/system_manage/chartTheme/themeSetting.vue

@@ -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)
       })