doway-coms 2.1.7 → 2.1.8

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.1.7",
3
+ "version": "2.1.8",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -459,6 +459,11 @@ export function gridDefaultValueDisplay(rowInfo,colInfo){
459
459
  })
460
460
  displayValue = displayValue.join(',')
461
461
  break
462
+ case controlType.number:
463
+ if(colInfo.params.doFloor){
464
+ displayValue=XEUtils.floor(displayValue,colInfo.params.precision)
465
+ }
466
+ break
462
467
 
463
468
  }
464
469
  return displayValue