From 91a33193e0710913296704e42121dead7d3749a2 Mon Sep 17 00:00:00 2001 From: wangyaqi Date: Wed, 18 Mar 2020 16:59:17 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20App=E5=B9=B3=E5=8F=B0=20H5=E5=B9=B3?= =?UTF-8?q?=E5=8F=B0=20createAnimation=20=E6=97=B6=20backgroundColor?= =?UTF-8?q?=E6=97=A0=E6=95=88=E7=9A=84Bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://ask.dcloud.net.cn/question/91190 --- src/core/view/mixins/animation.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/view/mixins/animation.js b/src/core/view/mixins/animation.js index 7b71c9267..760154719 100644 --- a/src/core/view/mixins/animation.js +++ b/src/core/view/mixins/animation.js @@ -19,7 +19,7 @@ function converType (type) { function getStyle (action) { const animateTypes1 = ['matrix', 'matrix3d', 'scale', 'scale3d', 'rotate3d', 'skew', 'translate', 'translate3d'] const animateTypes2 = ['scaleX', 'scaleY', 'scaleZ', 'rotate', 'rotateX', 'rotateY', 'rotateZ', 'skewX', 'skewY', 'translateX', 'translateY', 'translateZ'] - const animateTypes3 = ['opacity', 'backgroundColor'] + const animateTypes3 = ['opacity', 'background-color'] const animateTypes4 = ['width', 'height', 'left', 'right', 'top', 'bottom'] const animates = action.animates const option = action.option -- GitLab