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