@innoways/drip-form-theme-antd 8.0.1 → 8.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Change Log
2
2
 
3
+ ## 8.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - feature: input box view mode fix 8.0.2
8
+ - Updated dependencies
9
+ - @innoways/hooks@8.0.2
10
+ - @innoways/utils@8.0.2
11
+
3
12
  ## 8.0.1
4
13
 
5
14
  ### Patch Changes
package/dist/index.js CHANGED
@@ -771,7 +771,7 @@ var TextField = function TextField(_ref) {
771
771
  type = _ref.type,
772
772
  restProps = _objectWithoutProperties(_ref, _excluded$l);
773
773
 
774
- if (formMode === 'view') return fieldData || null;
774
+ if (formMode === 'view') return fieldData !== undefined ? fieldData : null;
775
775
 
776
776
  var _useState = useState(autoSize),
777
777
  _useState2 = _slicedToArray(_useState, 2),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@innoways/drip-form-theme-antd",
3
- "version": "8.0.1",
3
+ "version": "8.0.2",
4
4
  "author": "JDFED",
5
5
  "description": "drip-form antd主题包",
6
6
  "main": "dist/index.js",
@@ -31,8 +31,8 @@
31
31
  "dependencies": {
32
32
  "@ant-design/icons": "^4.7.0",
33
33
  "@babel/runtime": "^7.10.2",
34
- "@innoways/hooks": "^8.0.1",
35
- "@innoways/utils": "^8.0.1",
34
+ "@innoways/hooks": "^8.0.2",
35
+ "@innoways/utils": "^8.0.2",
36
36
  "antd": "^4.16.13",
37
37
  "flatpickr": "^4.6.13",
38
38
  "moment": "^2.26.0",