Roc há 1 semana atrás
pai
commit
1cc02c1a7a

+ 3 - 1
controllers/data_manage/ai_predict_model/index_config.go

@@ -166,7 +166,9 @@ func (c *AiPredictModelIndexConfigController) CurrVersion() {
 		return
 	}
 
-	br.Data = configItem.ToView()
+	itemView := configItem.ToView()
+	itemView.IsCurr = 1
+	br.Data = itemView
 
 	br.Ret = 200
 	br.Success = true