@ray-js/components 1.7.24 → 1.7.25

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.
@@ -26,6 +26,8 @@ const Button = props => {
26
26
  onClick: event => {
27
27
  if (disabled) return;
28
28
  if (loading) return;
29
+ // 兼容 onClick 事件的参数
30
+ event.origin = event;
29
31
  onClick === null || onClick === void 0 || onClick(event);
30
32
  },
31
33
  disabled: disabled,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/components",
3
- "version": "1.7.24",
3
+ "version": "1.7.25",
4
4
  "description": "Ray basic components",
5
5
  "keywords": [
6
6
  "ray"
@@ -29,8 +29,8 @@
29
29
  "dependencies": {
30
30
  "@ray-core/macro": "^0.4.9",
31
31
  "@ray-core/wechat": "^0.4.9",
32
- "@ray-js/adapter": "1.7.24",
33
- "@ray-js/framework-shared": "1.7.24",
32
+ "@ray-js/adapter": "1.7.25",
33
+ "@ray-js/framework-shared": "1.7.25",
34
34
  "ahooks": "^3.8.5",
35
35
  "clsx": "^1.2.1",
36
36
  "core-js": "^3.43.0",
@@ -40,11 +40,11 @@
40
40
  "style-to-object": "^0.3.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@ray-js/cli": "1.7.24"
43
+ "@ray-js/cli": "1.7.25"
44
44
  },
45
45
  "publishConfig": {
46
46
  "access": "public",
47
47
  "registry": "https://registry.npmjs.org"
48
48
  },
49
- "gitHead": "64321d9cb769c50ac0526772cf8a00450cd328a0"
49
+ "gitHead": "ef8e38dc9f86bf83ea09461707952970c082c110"
50
50
  }