doway-coms 2.5.4 → 2.5.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 +1 -1
- package/packages/BaseGrid/src/index.vue +1 -0
- package/packages/utils/filters.js +7 -0
- package/dist/css/chunk-vendors.7f83d8f9.css +0 -8
- package/dist/css/index.7946d50b.css +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/js/chunk-vendors.28fda91d.js +0 -340
- package/dist/js/index.49bc6add.js +0 -2
- package/lib/doway-coms.common.js +0 -120397
- package/lib/doway-coms.css +0 -1
- package/lib/doway-coms.umd.js +0 -120407
- package/lib/doway-coms.umd.min.js +0 -328
package/package.json
CHANGED
|
@@ -471,6 +471,13 @@ export function gridDefaultValueDisplay(rowInfo,colInfo){
|
|
|
471
471
|
}
|
|
472
472
|
}
|
|
473
473
|
break
|
|
474
|
+
case controlType.date:
|
|
475
|
+
if(colInfo.params&&colInfo.params.formatMethod){
|
|
476
|
+
displayValue=colInfo.params.formatMethod(displayValue)
|
|
477
|
+
}else{
|
|
478
|
+
displayValue=moment(displayValue).format(colInfo.params.format)
|
|
479
|
+
}
|
|
480
|
+
break
|
|
474
481
|
|
|
475
482
|
}
|
|
476
483
|
return displayValue
|