doway-coms 2.11.12 → 2.11.13

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.11.12",
3
+ "version": "2.11.13",
4
4
  "description": "doway组件库",
5
5
  "author": "dowaysoft",
6
6
  "main": "packages/index.js",
@@ -470,7 +470,7 @@ export function gridDefaultValueDisplay(rowInfo,colInfo){
470
470
  if(colInfo.params.doRound){
471
471
  displayValue=XEUtils.round(displayValue,colInfo.params.precision)
472
472
  }
473
- if(!colInfo.params.percent){
473
+ if(colInfo.params.percent){
474
474
  displayValue=XEUtils.round(displayValue*100,colInfo.params.precision)
475
475
  if(this.$store.getters.baseSetting && this.$store.getters.baseSetting.thousandDigit==='true'){
476
476
  displayValue = displayValue.toLocaleString('en-US',{ maximumFractionDigits: 10 })