Explorar o código

研报里的表格

xyxie hai 1 ano
pai
achega
3935e95fed
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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