Commit Graph

3 Commits

Author SHA1 Message Date
dopamine
a03cf125fd
fix(components): [carousel] improper active item (#8904)
* fix(components): [carousel] none of active item

closed #8891

* fix: ts error

* fix: guarantee items order when reusing carousel-item component

* style: code format

* fix: test fail

* chore: correct type

* fix: sorting failed in some cases

* better implementation

better implementation

* impove code accroding to review comment
2022-10-02 08:44:40 +08:00
JeremyWuuuuu
6b74660a20
chore(components): [el-carousel] code style refactor (#6693)
* chore(components): [el-carousel] code style refactor

- Remove duplicated code
- Simplified the code for components

* Wrap resize handle into shallowRef

* Export CourouselItemState type

* Enhance itemInStage method

* Refine code
2022-03-17 22:20:25 +08:00
卜启缘
176bc652ea
refactor(components): [carousel] refactor (#6681)
* refactor(components): [carousel] refactor

* fix: build error
2022-03-17 12:21:06 +08:00