提交 345f38e3 编写于 作者: DCloud_iOS_XHY's avatar DCloud_iOS_XHY

修复 transition 修改背景色示例多个;号在web平台上不生效的问题

(cherry picked from commit 4b26c255)
上级 52e3d408
...@@ -159,7 +159,7 @@ ...@@ -159,7 +159,7 @@
changeBackground2() { changeBackground2() {
this.styleBackground2?.style?.setProperty("background-color", this.isTransitionstyleBackground2 this.styleBackground2?.style?.setProperty("background-color", this.isTransitionstyleBackground2
? 'brown' ? 'brown'
: 'rgba(0, 0, 0, 0.5);' : 'rgba(0, 0, 0, 0.5)'
) )
this.isTransitionstyleBackground2 = !this.isTransitionstyleBackground2 this.isTransitionstyleBackground2 = !this.isTransitionstyleBackground2
}, },
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册