03 2021 档案

摘要:写完代码一定要自测,每个场景都要测试到,加油吧,骚年...... 说话之前一定要考虑后果,版本问题一定要回答谨慎些,比如这个版本就是明天发版(头疼ing......),一句话引发的血案 1.判断是否是微信浏览器 export function isWechat() { const ua = wind 阅读全文
posted @ 2021-03-28 15:53 TheYouth 阅读(113) 评论(0) 推荐(0) 编辑
摘要:swiper的使用 待更新 阅读全文
posted @ 2021-03-15 19:11 TheYouth 阅读(51) 评论(0) 推荐(0) 编辑
摘要:const originHeight = document.documentElement.clientHeight || document.body.clientHeight window.addEventListener('resize', () => { const resizeHeight 阅读全文
posted @ 2021-03-10 13:39 TheYouth 阅读(150) 评论(0) 推荐(0) 编辑
摘要:vuex生态 *单一状态树 state 唯一的数据源 getter 类似于computed 计算属性 同步修改数据 Vue Component commit > Mutation( >Devtools/ >Plugins 插件操作) Mutate > State(getter) Render > V 阅读全文
posted @ 2021-03-10 12:35 TheYouth 阅读(153) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示