doway-coms 2.2.5 → 2.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "doway-coms",
3
- "version": "2.2.5",
3
+ "version": "2.2.6",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -463,6 +463,9 @@ export function gridDefaultValueDisplay(rowInfo,colInfo){
463
463
  if(colInfo.params.doRound){
464
464
  displayValue=XEUtils.round(displayValue,colInfo.params.precision)
465
465
  }
466
+ if(colInfo.params.percent){
467
+ displayValue=XEUtils.round(displayValue*100,colInfo.params.precision)+'%'
468
+ }
466
469
  break
467
470
 
468
471
  }