提交 91a33193 编写于 作者: 雪洛's avatar 雪洛

fix: App平台 H5平台 createAnimation 时 backgroundColor无效的Bug

https://ask.dcloud.net.cn/question/91190
上级 ffcfcfb4
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册