会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Ли Вэньлун
前端CV工程师
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
下一页
2022年3月1日
油猴-知乎自动关闭登录弹窗,自动跳转链接
摘要: // ==UserScript== // @name 知乎-关闭登录-自动跳转链接 // @namespace http://tampermonkey.net/ // @version 0.1 // @description try to take over the world! // @autho
阅读全文
posted @ 2022-03-01 11:23 lwlcode
阅读(820)
评论(0)
推荐(0)
2022年2月17日
用vue写一个炫酷的数字时钟
摘要: 灵感来源 在codepen上看到一个大佬的作品,比较有意思,就想用vue写一个更简单的。代码很简单。 gif演示图片加载缓慢,可以点击这里可以查看代码运行效果 全部代码 <!DOCTYPE html> <html> <head> <meta charset="UTF-8" /> <title>数字时
阅读全文
posted @ 2022-02-17 17:44 lwlcode
阅读(1385)
评论(0)
推荐(0)
2022年1月12日
vue cli2 使用 wkhtmltopdf 踩坑指南
摘要: 主要是通过wkhtmltopdf生成pdf,但是不支持css3,想要更好的支持css样式可以使用node环境的puppeteer,关于puppeteer的使用可以点这里瞬移使用puppeteer生成pdf与截图 vue-cli3好像不支持wkhtmltopdf(可以自行研究一下),这里是说一下vue
阅读全文
posted @ 2022-01-12 11:29 lwlcode
阅读(2287)
评论(3)
推荐(1)
2022年1月1日
github520 README.md
摘要: GitHub520 一、介绍 对 GitHub 说"爱"太难了:访问慢、图片加载不出来。 注: 本项目还处于测试阶段,仅在本机测试通过,如有问题欢迎提 issues 本项目无需安装任何程序,通过修改本地 hosts 文件,试图解决: GitHub 访问速度慢的问题 GitHub 项目中的图片显示不出
阅读全文
posted @ 2022-01-01 22:51 lwlcode
阅读(507)
评论(0)
推荐(0)
2021年12月22日
mac 安装 oh my zsh
摘要: 1、进入当前用户的目录,cd 或者cd ~ 2、安装工具 git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh 3、拷贝配置文件 cp ~/.oh-my-zsh/templates/zshrc.zsh-template
阅读全文
posted @ 2021-12-22 10:52 lwlcode
阅读(148)
评论(0)
推荐(0)
2021年12月20日
对 el-dialog 二次封装成组件(数据双向绑定)
摘要: <template> <el-dialog class="my-dialog" width="70%" :visible.sync="dialogVisible" > <div>dialog内容区域</div> <span slot="footer" class="dialog-footer"> <
阅读全文
posted @ 2021-12-20 16:39 lwlcode
阅读(535)
评论(0)
推荐(0)
2021年12月6日
让input一直保持聚焦和聚焦全选
摘要: 让input一直保持聚焦只需要在input失去焦点事件中再次添加焦点就可以保证永永远不失去焦点了 // 原生js <input onblur="this.focus()" /> // vue中 <input @blur="$event.target.focus()" /> 让input聚焦全选 //
阅读全文
posted @ 2021-12-06 16:43 lwlcode
阅读(3531)
评论(0)
推荐(1)
2021年8月27日
Vue3快速上手
摘要: 1.Vue3简介 2020年9月18日,Vue.js发布3.0版本,代号:One Piece(海贼王) 耗时2年多、2600+次提交、30+个RFC、600+次PR、99位贡献者 github上的tags地址:https://github.com/vuejs/vue-next/releases/ta
阅读全文
posted @ 2021-08-27 18:44 lwlcode
阅读(1626)
评论(0)
推荐(0)
Vuex 模块化 命名空间 语法糖
摘要: 修改store.js const countAbout = { namespaced: true, // 开启命名空间 state: { x: 1 }, mutations: { ... }, actions: { ... }, getters: { bigSum(state) { return s
阅读全文
posted @ 2021-08-27 10:29 lwlcode
阅读(298)
评论(0)
推荐(0)
2021年8月26日
Vue全局事件总线、消息订阅与发布、非父子组件传值
摘要: Vue与VueComponent的关系图 Vue全局事件总线 全局事件总线是一种组件间通信的方式,适用于任意组件间通信。 相当于给每个组件做个代理,作为数据通信的中转站。 其本质是Vue的实例对象,通过$emit、$on、$off发布、监听、关闭事件。 所以就需要每个子组件都能访问的到(每个子组件实
阅读全文
posted @ 2021-08-26 11:02 lwlcode
阅读(884)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
下一页
公告