会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
lethe666
博客园
首页
新随笔
联系
订阅
管理
2020年5月21日
vue 局部刷新
摘要: 1. App.vue里面写上如下代码 <template> <div id="app"> <router-view v-if="isRouterAlive"></router-view> </div> </template> <script> export default { name: 'App'
阅读全文
posted @ 2020-05-21 14:45 lethe666
阅读(575)
评论(0)
推荐(0)
2020年5月10日
刷新频繁的防抖函数处理
摘要: 防抖( debounce ) debounce(func,delay){ let timer = null; return function(...args){ if(timer) clearTimeout(timer) timer = setTimeout( () => { func.apply(
阅读全文
posted @ 2020-05-10 23:25 lethe666
阅读(185)
评论(0)
推荐(0)
2020年5月4日
bus
只有注册用户登录后才能阅读该文。
阅读全文
posted @ 2020-05-04 16:45 lethe666
阅读(1)
评论(0)
推荐(0)
2020年5月1日
组件的点击
摘要: @click.native
阅读全文
posted @ 2020-05-01 15:29 lethe666
阅读(125)
评论(0)
推荐(0)
2020年4月30日
手机端滑动
摘要: better-scroll https://github.com/ustbhuangyi/better-scroll
阅读全文
posted @ 2020-04-30 11:40 lethe666
阅读(80)
评论(0)
推荐(0)
2020年4月28日
快捷方式
摘要: ul>li{商品列表}*10 <ul> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>商品列表</li> <li>
阅读全文
posted @ 2020-04-28 10:56 lethe666
阅读(127)
评论(0)
推荐(0)
2020年4月23日
新项目个人记录
摘要: 1.划分目录结构 2.删除不需要的部分 vue-cli4 取消关闭eslint 校验代码 在.eslintrc.js文件中修改 删掉 “@vue/prettier” 3.引用两个css文件 在assets文件夹中新增两个css初始化文件 base.css 和 normalize.css 4.添加配置
阅读全文
posted @ 2020-04-23 10:35 lethe666
阅读(93)
评论(0)
推荐(0)
2020年4月22日
步骤
摘要: 1. git clone 地址 2.修改文件以后 git add . 3.git commit -m '修改内容备注' 4.git pull origin xxx 5.git push origin xxx (会输入用户名 密码)
阅读全文
posted @ 2020-04-22 17:26 lethe666
阅读(166)
评论(0)
推荐(0)
公告