浏览代码

fix:ppt显示值

zqbao 4 月之前
父节点
当前提交
3471355e54
共有 1 个文件被更改,包括 4 次插入1 次删除
  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":
 					// 		// 先进行数字的百分比计算,然后保留小数点位数