Skip to content

Commit d17e5fd

Browse files
committed
修复ie11bug
1 parent 3da8e14 commit d17e5fd

File tree

7 files changed

+5719
-12
lines changed

7 files changed

+5719
-12
lines changed

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# pdfh5.js v1.2.18
1+
# pdfh5.js v1.2.19
22

33
[![npm version](https://img.shields.io/npm/v/pdfh5.svg)](https://www.npmjs.com/package/pdfh5) [![npm downloads](https://img.shields.io/npm/dt/pdfh5.svg)](https://www.npmjs.com/package/pdfh5) [![MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/gjTool/pdfh5/blob/master/LICENSE) [![GitHub issues](https://img.shields.io/github/issues/gjTool/pdfh5.svg)](https://github.com/gjTool/pdfh5/issues) [![GitHub stars](https://img.shields.io/github/stars/gjTool/pdfh5.svg?style=social)](https://github.com/gjTool/pdfh5/stargazers) [![GitHub forks](https://img.shields.io/github/forks/gjTool/pdfh5.svg?style=social)](https://github.com/gjTool/pdfh5/network/members)
44

@@ -8,18 +8,18 @@
88

99
- [pdfh5项目GitHub地址](https://github.com/gjTool/pdfh5)
1010

11-
- [pdfh5打包下载](http://www.gjtool.cn/download/pdfh5.zip)
11+
- [pdfh5打包下载](https://www.gjtool.cn/download/pdfh5.zip)
1212

1313
![pdfh5.js示例](https://img-blog.csdnimg.cn/20190731133403792.gif)
1414

1515
## 更新信息
1616

17-
- 2019.09.19更新: 1.更新一个小问题(pdf.js引用了fs模块,但实际上浏览器环境没有用到fs,配置文件就没有安装fs,导致找不到fs报错。vue-cli2.0本身已避免这个问题了,但是还是有很多人重复出现这个问题,也不去看issue解决办法。所以我动手更新一下吧)
17+
- 2019.10.31更新: 1. 修复在IE11浏览器svg模式显示样式不正常的问题
1818

1919

2020
### pdfh5在线预览 (建议使用谷歌浏览器F12手机模式打开预览)
2121

22-
- [http://www.gjtool.cn/pdfh5/pdf.html?file=http://www.gjtool.cn/pdfh5/default.pdf](http://www.gjtool.cn/pdfh5/pdf.html?file=http://www.gjtool.cn/pdfh5/default.pdf)
22+
- [https://www.gjtool.cn/pdfh5/pdf.html?file=https://www.gjtool.cn/pdfh5/default.pdf](https://www.gjtool.cn/pdfh5/pdf.html?file=https://www.gjtool.cn/pdfh5/default.pdf)
2323

2424

2525
## 快速使用(有两种方式)
@@ -151,7 +151,7 @@ var pdfh5 = new Pdfh5('#demo', {
151151

152152
```javascript
153153
$.ajax({
154-
url: "http://gjtool.cn/pdfh5/git.pdf", //假设这是pdf文件流的请求接口
154+
url: "https://gjtool.cn/pdfh5/git.pdf", //假设这是pdf文件流的请求接口
155155
type: "get",
156156
mimeType: 'text/plain; charset=x-user-defined',//jq ajax请求文件流的方式
157157
cache: false,
@@ -211,9 +211,9 @@ pdfh5.on("ready", function () {
211211
|destroy | {Function}| 监听pdfh5销毁|
212212

213213
## 打赏赞助作者:
214-
![支付宝二维码](http://www.gjtool.cn/download/zfb.jpg) ![微信二维码](http://www.gjtool.cn/download/wx.jpg)
214+
![支付宝二维码](https://www.gjtool.cn/download/zfb.jpg) ![微信二维码](https://www.gjtool.cn/download/wx.jpg)
215215

216-
- 感谢打赏!请打赏的童鞋在[pdfh5.js打赏榜](http://www.gjtool.cn/articles/2019/09/24/1569327833358.html)留下github、QQ、微信 。然后,我会对打赏过的童鞋的问题及时响应。(当然是在我不忙的时候啦)
216+
- 感谢打赏!请打赏的童鞋在[pdfh5.js打赏榜](https://www.gjtool.cn/articles/2019/09/24/1569327833358.html)留下github、QQ、微信 。然后,我会对打赏过的童鞋的问题及时响应。(当然是在我不忙的时候啦)
217217

218218

219219
## 打赏榜单
@@ -222,5 +222,5 @@ pdfh5.on("ready", function () {
222222

223223

224224
## 扫码加入QQ群和更多小伙伴一起交流前端技术:
225-
![QQ群:651601340](http://www.gjtool.cn/download/qq.png)
225+
![QQ群:651601340](https://www.gjtool.cn/download/qq.png)
226226

0 commit comments

Comments
 (0)