上一页 1 ··· 3 4 5 6 7 8 下一页
摘要: 用户点击按钮或其他标签的click事件,来触发下面的事件,新建请求将文件下载后,导出成本地url,创建a标签设置href、download,调用点击事件。 直接使用a标签,跨域文件会直接通过href跳转。 const fileName = 'a.pdf'; const url = `//${loca 阅读全文
posted @ 2021-01-25 11:10 林一怂儿 阅读(991) 评论(0) 推荐(0)
摘要: 原理 基于Canvas绘制特定内容的图片,使用canvas.toDataURL()方法返回该图片内容的base64编码字符串。对于PNG文件格式,以块(chunk)划分,最后一块是一段32位的CRC校验,提取这段CRC校验码便可以用于用户的唯一标识。 测试结果表明,同一浏览器访问该域时生成的CRC校 阅读全文
posted @ 2021-01-25 09:07 林一怂儿 阅读(302) 评论(0) 推荐(0)
摘要: 文件C:\Windows\System32\drivers\etc\hosts修改 140.82.113.3 github.com 140.82.114.20 gist.github.com 192.30.253.113 github.com 192.30.253.118 gist.github.c 阅读全文
posted @ 2021-01-08 14:47 林一怂儿 阅读(263) 评论(0) 推荐(0)
摘要: ⚠ 设置 enable-flex 属性以使 flexbox 布局生效 🔧 添加 enable-flex="true"属性 <scroll-view enable-flex="true"> ... </scroll-view> https://blog.csdn.net/weixin_4419896 阅读全文
posted @ 2020-12-17 17:03 林一怂儿 阅读(860) 评论(0) 推荐(0)
摘要: 构建出错 错误提示:WARNING in [路径] exceeded maximum budget. Budget 6 kB was not met by 5 kB with a total of 11 kB. 错误原因:编译得时候运行内存超过预算 产生命令: ng build --prod 解决错 阅读全文
posted @ 2020-11-19 11:09 林一怂儿 阅读(498) 评论(0) 推荐(0)
摘要: <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"> width:控制 viewport 的大小,可以指定的一个值,如 600,或者特殊的 阅读全文
posted @ 2020-11-16 14:08 林一怂儿 阅读(835) 评论(0) 推荐(0)
摘要: nginx访问报错 403 is forbidden 描述:错误日志中 xxx 403 forbidden (13: Permission denied) 解决: # 1.缺少index.html # index index.html index.htm 配置文件中的指定的文件缺少 # 2.权限问题 阅读全文
posted @ 2020-11-13 13:41 林一怂儿 阅读(168) 评论(0) 推荐(0)
摘要: 版本 https://github.com/docker/compose/releases 安装 sudo curl -L https://get.daocloud.io/docker/compose/releases/download/1.27.4/docker-compose-`uname -s 阅读全文
posted @ 2020-11-12 17:09 林一怂儿 阅读(197) 评论(0) 推荐(0)
摘要: 操作步骤 新建一个vi docker_install.sh文件,粘入一下内容并保存. 执行脚本sh docker_install.sh. # Centos 8 sudo yum install -y yum-utils sudo yum-config-manager \ --add-repo \ h 阅读全文
posted @ 2020-11-12 16:55 林一怂儿 阅读(152) 评论(0) 推荐(0)
摘要: 工作流程 用户git push 触发github action 执行用户配置的yml脚本 如何配置? 首先要得到两个凭证 Nuget Api Key 进入nuget官网 https://www.nuget.org/ 并登录 选中API Keys 点击创建 Create 配置下 Copy 凭证 [找地 阅读全文
posted @ 2020-11-03 20:17 林一怂儿 阅读(606) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 下一页