摘要: 为什么不用锚点 锚点会改变 url 地址,将锚点的值添加到 url 后面 vue 路由的情况下回退需要多次 刷新页面时会找不到页面 滑动特别生硬,没有过度效果 解决 URL 问题 <!-- a标签添加方法,参数为对应锚点的id --> <a @click="clickanchor('#item0') 阅读全文
posted @ 2021-07-28 16:38 懒惰ing 阅读(71) 评论(0) 推荐(0)
摘要: 需要 移动端调试无法看到控制台 当前环境无法用 npm 方式引入 使用方法 const vConsole = new VConsole(); 源码 /*! * vConsole v3.0.0 (https://github.com/Tencent/vConsole) * * Tencent is p 阅读全文
posted @ 2021-07-28 11:01 懒惰ing 阅读(307) 评论(0) 推荐(0)