Browse Source

Merge branch 'feature/eta_2.5.4_report_free_layout' into debug

kobe6258 2 tháng trước cách đây
mục cha
commit
5ec10b2259
1 tập tin đã thay đổi với 6 bổ sung0 xóa
  1. 6 0
      controllers/report_share.go

+ 6 - 0
controllers/report_share.go

@@ -221,6 +221,12 @@ func (this *ReportShareController) Detail() {
 				for _, v := range reportChapters {
 					v.Content = services.HandleReportContent(v.Content, "add", tokenMap)
 				}
+
+				if report.ReportLayout == 3 {
+					for _, v := range pageList {
+						v.Content = services.HandleReportContent(v.Content, "add", tokenMap)
+					}
+				}
 			}
 
 		}