Skip to content

Commit

Permalink
fix(accordion): 小程序动画bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jimczj committed Oct 19, 2018
1 parent eed0d3b commit c435587
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/accordion/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,8 @@ export default class AtAccordion extends AtComponent {
}
if (this.isOpen) {
animatedStyle.transform = 'rotate(180deg)'
} else {
animatedStyle.transform = 'rotate(0)'
}

const contentCls = {
Expand Down

0 comments on commit c435587

Please sign in to comment.