@zscreate/zhxy-app-component 1.0.2 → 1.0.4

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.
@@ -533,6 +533,9 @@
533
533
  }
534
534
  return '请选择'
535
535
  }
536
+ if (widget.type === 'date' && widget.options.format) {
537
+ return moment(dataModel).format(widget.options.format)
538
+ }
536
539
  return dataModel
537
540
  }
538
541
  if (widget.options.placeholder) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/zhxy-app-component",
3
- "version": "1.0.2",
3
+ "version": "1.0.4",
4
4
  "private": false,
5
5
  "description": "zhxy-app-component",
6
6
  "main": "index.js",