@titaui/pc 1.11.4-11 → 1.11.4-12

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.
@@ -253,6 +253,7 @@ var TimePicker = function TimePicker(props) {
253
253
  };
254
254
 
255
255
  (0, _react.useEffect)(function () {
256
+ document.removeEventListener('keydown', handleKeyDown);
256
257
  timeSetingtType && document.addEventListener('keydown', handleKeyDown);
257
258
  return function () {
258
259
  document.removeEventListener('keydown', handleKeyDown);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@titaui/pc",
3
- "version": "1.11.4-11",
3
+ "version": "1.11.4-12",
4
4
  "nameCN": "",
5
5
  "description": "",
6
6
  "main": "lib/index.js",