Moonofweisheng / wot-design-uni

一个基于Vue3+TS开发的uni-app组件库,提供70+高质量组件,支持暗黑模式、国际化和自定义主题。
https://wot-design-uni.pages.dev
MIT License
631 stars 92 forks source link

fix: 🐛 修复Transition被打断时出现显示异常的问题 #368

Closed Moonofweisheng closed 3 weeks ago

Moonofweisheng commented 3 weeks ago

🤔 这个 PR 的性质是?(至少选择一个)

🔗 相关 Issue

💡 需求背景和解决方案

使用到Transition的组件,再多次连续调用时存在打断动画情况,原transition的实现打断动画后未清除对应的定时器,这些定时器内的逻辑仍会执行,调整后将会在下一次动画打开时,清掉上一个动画的所有定时器、promise。

☑️ 请求合并前的自查清单

⚠️ 请自检并全部勾选全部选项。⚠️

vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wot-design-uni ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2024 2:04pm
netlify[bot] commented 3 weeks ago

Deploy Preview for wot-design-uni ready!

Name Link
Latest commit 9d2a577696b9f82d635c4377a3bd57f47712bcfe
Latest deploy log https://app.netlify.com/sites/wot-design-uni/deploys/666afc6797987c00082fcf12
Deploy Preview https://deploy-preview-368--wot-design-uni.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.