@pisell/private-materials 6.1.16 → 6.1.17

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.
@@ -97,7 +97,7 @@ var ProductGroup = function ProductGroup(_ref) {
97
97
  className: classNames('product-card', {
98
98
  selected: currentProductId && item.id === currentProductId
99
99
  }),
100
- onTouchStart: function onTouchStart() {
100
+ onPointerUp: function onPointerUp() {
101
101
  console.log('进入 renderItem onClick');
102
102
  onSelectProduct === null || onSelectProduct === void 0 || onSelectProduct(item);
103
103
  }
@@ -99,7 +99,7 @@ var ProductGroup = ({
99
99
  className: (0, import_classnames.default)("product-card", {
100
100
  selected: currentProductId && item.id === currentProductId
101
101
  }),
102
- onTouchStart: () => {
102
+ onPointerUp: () => {
103
103
  console.log("进入 renderItem onClick");
104
104
  onSelectProduct == null ? void 0 : onSelectProduct(item);
105
105
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pisell/private-materials",
3
- "version": "6.1.16",
3
+ "version": "6.1.17",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.js",
6
6
  "types": "./lib/index.d.ts",