From 740ccab260b48d191ae717ba88bd46c8155fe253 Mon Sep 17 00:00:00 2001
From: lin <1005713861@163.com>
Date: Fri, 08 May 2026 16:01:41 +0800
Subject: [PATCH] feat:澜品优选 优化
---
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