Selaa lähdekoodia

Merge branch 'feature/ai_my_chart_0508' into debug

hsun 1 viikko sitten
vanhempi
commit
cce53b05cf
1 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 1 2
      services/ai_predict_model_index.go

+ 1 - 2
services/ai_predict_model_index.go

@@ -160,6 +160,7 @@ func GetAiPredictChartDetailByData(indexItem *aiPredictModel.AiPredictModelIndex
 		chartView.ChartSourceEn = "AI预测模型"
 		chartView.SysUserId = chartInfo.SysUserId
 		chartView.SysUserRealName = chartInfo.SysUserRealName
+		chartView.IsEdit = true
 	} else {
 		chartView.ChartName = indexItem.IndexName
 		chartView.ChartNameEn = indexItem.IndexName
@@ -173,8 +174,6 @@ func GetAiPredictChartDetailByData(indexItem *aiPredictModel.AiPredictModelIndex
 	chartView.ChartThemeStyle = chartTheme.Config
 	chartView.ChartThemeId = chartTheme.ChartThemeId
 
-	chartView.ChartName = indexItem.IndexName
-	chartView.ChartNameEn = indexItem.IndexName
 	chartView.DateType = 3
 	chartView.Calendar = "公历"
 	chartView.ChartSource = "AI预测模型"