摘要: Uni-app 性能天坑:为什么 v-if 删不掉 DOM 节点 🧑‍💻 写在开头 点赞 + 收藏 学会🤣🤣🤣 在开发自定义 Swiper 或长列表组件时,为了优化性能,我们通常会给每一项加上懒加载逻辑: <view class="item"> <template v-if="shouldRender"> <slot :name="'slot-' + i 阅读全文
posted @ 2026-01-23 20:53 林恒 阅读(15) 评论(0) 推荐(0)