@zhenliang/sheet 0.1.53 → 0.1.54

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.
@@ -94,6 +94,9 @@ export var getNumberEditor = function getNumberEditor(extraProps, getExtraProps)
94
94
  if (!isNumber(+value)) {
95
95
  return;
96
96
  }
97
+ if (!value) {
98
+ return handleChange('');
99
+ }
97
100
  if (max && +value > max) {
98
101
  handleChange(max);
99
102
  } else if (min && +value < min) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhenliang/sheet",
3
- "version": "0.1.53",
3
+ "version": "0.1.54",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",