Parcourir la source

Merge branch 'hotfix/chart_mapping_0729' into custom

hsun il y a 7 mois
Parent
commit
a439163267
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6 0
      controllers/data_manage/multiple_graph_config.go

+ 6 - 0
controllers/data_manage/multiple_graph_config.go

@@ -634,6 +634,12 @@ func (this *ChartInfoController) MultipleGraphConfigSaveChart() {
 		_ = utils.Rc.Delete(cacheKey)
 	}()
 
+	if req.MultipleGraphConfigId <= 0 {
+		br.Msg = "配置未保存"
+		br.IsSendEmail = false
+		return
+	}
+
 	if req.IsSaveAs {
 		CopyMultipleGraphConfigSaveChart(req, this, br, sysUser)
 		return