会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
几许风雨
博客园
首页
新随笔
联系
订阅
管理
1
2
3
4
下一页
2021年12月21日
vue 中使用 keep-live 后监听页面显示隐藏
摘要: activated() 页面激活 deactivated() 页面隐藏
阅读全文
posted @ 2021-12-21 16:30 几许风雨
阅读(280)
评论(0)
推荐(0)
2021年9月19日
jquery 获取 iframe
摘要: 1. $('#iframeId').contents().find() 2. 跨域 $('body', parent.document).append('<span></span>')
阅读全文
posted @ 2021-09-19 14:41 几许风雨
阅读(461)
评论(0)
推荐(0)
2021年6月10日
vue js 读取.csv .xls 类型文件
摘要: let reader = new FileReader(); reader.onload= e => { //获取数据 let data = e.target.result; let workbook = XLSX.read(data, { type: 'array' }) let firstShe
阅读全文
posted @ 2021-06-10 13:48 几许风雨
阅读(2385)
评论(0)
推荐(0)
2021年6月7日
vue 文件打包太大 -- 体积优化
摘要: 来自 https://www.cnblogs.com/d102601560/p/13802340.html 最新打包vue cli 4.5 项目时,体积尽然达到了9M,页面访问的速度,因此进行尝试进行优化,最终压缩到 968k ,效果明显。下面是优化方法。 首先新建文件'vue.config.js'
阅读全文
posted @ 2021-06-07 16:01 几许风雨
阅读(3722)
评论(0)
推荐(1)
2021年6月1日
vue 导航守卫 router 高版本报错
摘要: 重写 push 事件 import VueRouter from 'vue-router' const originalPush = VueRouter.prototype.push VueRouter.prototype.push = function push(location, onResol
阅读全文
posted @ 2021-06-01 15:24 几许风雨
阅读(220)
评论(0)
推荐(0)
windows nginx 杀进程
摘要: 1. 查看进程 tasklist /fi "imagename eq nginx.exe" 2.杀进程 taskkill /f /pid 16900 /pid 19012 3.重载配置 nginx.exe -s reload 需要在nginx文件夹内
阅读全文
posted @ 2021-06-01 13:24 几许风雨
阅读(2782)
评论(0)
推荐(0)
2021年5月2日
Vue 中注册插件步骤
摘要: 文件 2.main.js 1.先导入 import toast from 'index.js' 2.安装 Vue.use(toast) 3.index.js import Toast from './toast.vue' const obj = {} obj.install = function(V
阅读全文
posted @ 2021-05-02 19:21 几许风雨
阅读(719)
评论(0)
推荐(0)
2021年2月23日
echart 多Y轴显示
摘要: https://my.oschina.net/wangmengjun/bl option = { tooltip:{ trigger : 'axis' }, grid : { right : '20%' }, toolbox : { feature : { dataView : { show : f
阅读全文
posted @ 2021-02-23 11:06 几许风雨
阅读(509)
评论(0)
推荐(0)
2020年11月21日
python 安装pip
摘要: python -m ensurepip --default-pip
阅读全文
posted @ 2020-11-21 16:51 几许风雨
阅读(433)
评论(0)
推荐(0)
2020年8月1日
nginx 访问添加登录验证
摘要: 1. 安装工具包命令 yum install httpd-tools 2. 设置帐号密码文件 htpasswd -c /usr/local/nginx/文件名.htpasswd 帐号 3. 连输两遍密码 4. nginx 配置 location / { # 设置 auth auth_basic "k
阅读全文
posted @ 2020-08-01 19:11 几许风雨
阅读(1145)
评论(0)
推荐(0)
1
2
3
4
下一页
公告