Parcourir la source

fix:ppt显示值

zqbao il y a 4 mois
Parent
commit
3471355e54
1 fichiers modifiés avec 4 ajouts et 1 suppressions
  1. 4 1
      services/excel/lucky_sheet.go

+ 4 - 1
services/excel/lucky_sheet.go

@@ -1792,8 +1792,11 @@ func GetTableDataByMixedTableData(config [][]request.MixedTableCellDataReq, hide
 								tmp.Monitor = cell.ShowValue
 							}
 						}
+					} else {
+						if cell.DataType == request.CustomTextDT {
+							tmp.Monitor = cell.Value
+						}
 					}
-
 					// 	switch styleConfig.Last {
 					// 	case "nt":
 					// 		// 先进行数字的百分比计算,然后保留小数点位数