@hi-ui/hiui 3.9.1 → 3.9.3

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.
@@ -326,7 +326,8 @@ exports.getInRangeDate = getInRangeDate;
326
326
  var parseValue = function parseValue(value, type, format, weekOffset) {
327
327
  var locale = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : 'zh-CN';
328
328
  if (!value) return [null];
329
- var _format = (0, _constants.FORMATS)(locale)[type];
329
+
330
+ var _format = format !== null && format !== void 0 ? format : (0, _constants.FORMATS)(locale)[type];
330
331
 
331
332
  var _value = (0, _moment["default"])(value, _format);
332
333
 
@@ -370,7 +370,7 @@ var SelectTree = function SelectTree(_ref) {
370
370
  checked: [],
371
371
  semiChecked: []
372
372
  });
373
- onChange && onChange();
373
+ onChange && onChange('');
374
374
  }, [onChange]);
375
375
  /**
376
376
  * set Pull Data status
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hi-ui/hiui",
3
- "version": "3.9.1",
3
+ "version": "3.9.3",
4
4
  "description": "HIUI for React",
5
5
  "scripts": {
6
6
  "test": "node_modules/.bin/standard && node_modules/.bin/stylelint --config .stylelintrc 'components/**/*.scss'",