overtrue / share.js

一键分享到微博、QQ空间、QQ好友、微信、腾讯微博、豆瓣、Facebook、Twitter、Linkedin、Google+、点点等
MIT License
3.7k stars 808 forks source link

IE11 会有报错,是不是不支持IE的? #71

Closed Fred0715 closed 6 years ago

Fred0715 commented 7 years ago

无法获取未定义或 null 引用的属性“appendChild

qiqihaobenben commented 6 years ago

就调整一行代码就行了,ie下appendChild后,把之前获取的DOM清空了。本来想给你截个图,上传不了,这个我已经提了pr了。有类似问题可以在下面留言。

no-simple commented 6 years ago

IE11报错。

overtrue commented 6 years ago

@no-simple 抱歉没考虑 IE 😆

no-simple commented 6 years ago

@overtrue 只有微信分享 在IE报错了 可以更完美的

qiqihaobenben commented 6 years ago

@no-simple 项目地址:https://github.com/qiqihaobenben/xgx-share npm地址: https://www.npmjs.com/package/vue-xueguoxue-share

no-simple commented 6 years ago

@qiqihaobenben 已解决,万分感谢~