Browse Source

fix myETA-利润曲线也能保存

cxmo 1 year ago
parent
commit
84ee32fc6d
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/mychart_manage/components/chartDetailDia.vue

+ 3 - 2
src/views/mychart_manage/components/chartDetailDia.vue

@@ -1063,9 +1063,10 @@ export default {
     saveChartMapHandle() {
       const sourceMap = {
         1: this.saveChartHandle,
-        2: this.saveCommodityChart
+        2: this.saveCommodityChart,
+        5: this.saveCommodityChart,//利润曲线
       }
-      sourceMap[this.chartInfo.Source]();
+      sourceMap[this.chartInfo.Source]&&sourceMap[this.chartInfo.Source]();
     },
 
     /* 商品价格图保存 */