LingxinMeng 11 bulan lalu
induk
melakukan
64790e6d17
1 mengubah file dengan 1 tambahan dan 4 penghapusan
  1. 1 4
      amd64/score_server/handler/h_exam.go

+ 1 - 4
amd64/score_server/handler/h_exam.go

@@ -562,8 +562,6 @@ func Report(c *gin.Context) {
 			currentLine := 0.0
 			// 3. 线上扣分详情
 			{
-				//columnNumber := 3.0                         // 列数
-				//tableCellWidth := tableWidth / columnNumber // 单元格宽度
 				tableCellWidth := 450.0 // 单元格宽度
 				{
 					pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)
@@ -599,8 +597,7 @@ func Report(c *gin.Context) {
 			currentLine := 0.0
 			// 3. 线上扣分详情
 			{
-				columnNumber := 3.0                         // 列数
-				tableCellWidth := tableWidth / columnNumber // 单元格宽度
+				tableCellWidth := 450.0 // 单元格宽度
 				for i := 8; i < 10; i++ {
 					{
 						pdf.SetXY(leftMargin, topMargin+currentLine*lineHeight)