Selaa lähdekoodia

Merge branch 'hotfix/chart_mapping_0729' into custom

hsun 7 kuukautta sitten
vanhempi
commit
a439163267
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  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