Roc 2 mesiacov pred
rodič
commit
2b743d789b

+ 1 - 1
controllers/data_manage/ai_predict_model/index.go

@@ -860,7 +860,7 @@ func (this *AiPredictModelIndexController) DashboardSave() {
 			br.ErrMsg = fmt.Sprintf("获取标的看板失败, %v", e)
 			return
 		}
-		if item != nil {
+		if item != nil && item.AiPredictModelIndexId > 0 {
 			isUpdate = true
 			dashboardItem = item
 			dashboardItem.DashboardName = req.DashboardName