@mpxjs/api-proxy 2.10.2 → 2.10.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/api-proxy",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "description": "convert miniprogram API at each end",
5
5
  "module": "src/index.js",
6
6
  "types": "@types/index.d.ts",
@@ -68,5 +68,5 @@
68
68
  "optional": true
69
69
  }
70
70
  },
71
- "gitHead": "4445de7c3ce29fb0166d3bb77a1a0460e41a32d3"
71
+ "gitHead": "043c9bc770ce9cc11f865bab67f46849ff573728"
72
72
  }
@@ -68,20 +68,17 @@ class Animation {
68
68
  }
69
69
 
70
70
  rotate (angle) { // 旋转变换
71
- this.transform.set('rotate', `${angle}deg`)
71
+ this.rotateZ(angle)
72
72
  return this
73
73
  }
74
74
 
75
- rotate3d (x, y, z, angle) {
76
- if (typeof y !== 'number') {
77
- this.transform.set('rotate3d', x)
78
- } else {
79
- // this.transform.set('rotate3d', [x, y, z, angle])
80
- this.rotateX(x)
81
- this.rotateY(y)
82
- this.rotateZ(z)
83
- this.rotate(angle)
84
- }
75
+ rotate3d (...args) {
76
+ // this.transform.set('rotate3d', [x, y, z, angle])
77
+ // this.rotateX(x)
78
+ // this.rotateY(y)
79
+ // this.rotateZ(z)
80
+ // this.rotate(angle)
81
+ console.error('React Native 不支持 transform rotate3d')
85
82
  return this
86
83
  }
87
84