diff --git a/src/core/view/mixins/animation.js b/src/core/view/mixins/animation.js index 7b71c926708aa79e0f492615b7095cc4ad85ca7d..760154719170fb431b7eef5c1b1e8b4bc4f25122 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