zwxi 7 meses atrás
pai
commit
e01b6af65d
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      controllers/data_manage/chart_info.go

+ 1 - 1
controllers/data_manage/chart_info.go

@@ -4589,7 +4589,7 @@ func (this *ChartInfoController) ChartList() {
 	condition += ` AND source = ? `
 	pars = append(pars, utils.CHART_SOURCE_DEFAULT)
 
-	if len(chartClassifyIds) > 0 {
+	if len(chartClassifyIdsStr) > 0 {
 		if !subClassify {
 			chartClassifyId, err := data_manage.GetChartClassifyByIdsNoSubClassify(chartClassifyIds)
 			if err != nil && err.Error() != utils.ErrNoRow() {