Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/ly525/luban-h5 into master
Browse files Browse the repository at this point in the history
  • Loading branch information
ly525 committed Jul 11, 2021
2 parents 2708875 + d955628 commit e019181
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[论坛/社区](https://github.com/ly525/luban-h5/discussions) || [中文文档-推荐(语雀)](https://www.yuque.com/luban-h5/docs) || [📖中文在线文档(github.io)](https://ly525.github.io/luban-h5/zh/) | [📖English Docs](https://ly525.github.io/luban-h5/en/getting-started/introduction.html) | [README(en)](./README.en.md) || [Community/Discussions](https://github.com/ly525/luban-h5/discussions)
[📖中文文档](https://ly525.gitee.io/luban-h5/zh/) || [📖English Docs](https://ly525.github.io/luban-h5/en/getting-started/introduction.html) | [README(en)](./README.en.md) || [论坛/社区](https://github.com/ly525/luban-h5/discussions)

<h2 align="center">
鲁班 H5
Expand Down
2 changes: 1 addition & 1 deletion front-end/h5/src/components/core/models/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ export default class Element {

if (this.animations.length > 0) {
const animation = this.animations[0]
attrs['data-swiper-animation'] = animation.type // "fadeIn"
attrs['data-swiper-animation'] = `animate__${animation.type}` // "fadeIn"
attrs['data-duration'] = `${animation.duration}s` // ".5s"
attrs['data-delay'] = `${animation.delay}s` // "1s"
}
Expand Down

0 comments on commit e019181

Please sign in to comment.