07 2021 档案

 
flex换行后,最后一排不满,布局变成两端对齐
摘要:.ant-list-items { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; &::after { content: ''; flex: 1 1 auto; } } 使用 阅读全文
posted @ 2021-07-30 19:14 zhuxq 阅读(630) 评论(0) 推荐(0)
react随笔
摘要:一、在react中使用 debounce(防抖) 或 throttle(节流)时,遇到报错,关于 event.persist()... 解决办法: 方法一:添加e.persist()。 如果按照提示,在调用的函数中添加e.persist(),确实能够消除该报错,但是接下来的问题是event.targ 阅读全文
posted @ 2021-07-28 18:47 zhuxq 阅读(69) 评论(0) 推荐(0)