Browse Source

研报里的表格

xyxie 1 year ago
parent
commit
3935e95fed
1 changed files with 1 additions and 1 deletions
  1. 1 1
      services/data/table/mixed_table.go

+ 1 - 1
services/data/table/mixed_table.go

@@ -1216,7 +1216,7 @@ func handleMixCellShowStyle(showStyleList []string, calculateCellMap map[string]
 				val = changePointDecimalPlaces(cell.ShowValue, styleConf.Pn)
 			}
 			if styleConf.Nt == "percent" {
-				val = changeToPercent(cell.ShowValue)
+				val = changeToPercent(val)
 			}
 			cell.ShowFormatValue = val
 			config[cellPosition.Column][cellPosition.Row] = cell