From eaa5247fe535aadedc7cd35896e1e08580487006 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Mon, 11 May 2026 18:14:58 +0800
Subject: [PATCH] feat:购有趣 4.3改版
---
uni_modules/uni-transition/components/uni-transition/createAnimation.js | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/uni_modules/uni-transition/components/uni-transition/createAnimation.js b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
index 5f54365..8f89b18 100644
--- a/uni_modules/uni-transition/components/uni-transition/createAnimation.js
+++ b/uni_modules/uni-transition/components/uni-transition/createAnimation.js
@@ -10,7 +10,10 @@
class MPAnimation {
constructor(options, _this) {
this.options = options
- this.animation = uni.createAnimation(options)
+ // 在iOS10+QQ小程序平台下,传给原生的对象一定是个普通对象而不是Proxy对象,否则会报parameter should be Object instead of ProxyObject的错误
+ this.animation = uni.createAnimation({
+ ...options
+ })
this.currentStepAnimates = {}
this.next = 0
this.$ = _this
--
Gitblit v1.9.3