We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
项目引用 https://unpkg.com/@antv/l7plot@latest/dist/umd/l7plot.min.js
https://unpkg.com/@antv/l7plot@latest/dist/umd/l7plot.min.js
运行在 IE 11 上,报错了 “Symbol”未定义,IE11 不支持该 ES6 语法
需要做什么改动 L7Plot 才能支持啊,能提供一个编译到兼容 IE11 的版本么
The text was updated successfully, but these errors were encountered:
提供 npm 安装,项目自行 babel 语法兼容打包吧。提供浏览器引入的 umd 方式后面可能发一个版本支持 IE11 @shushu2013
Sorry, something went wrong.
加了一些 polyfill 可以在 IE 11 上显示了
polyfill
<script type="text/javascript" src="https://npm.elemecdn.com/@babel/[email protected]/dist/polyfill.js" crossorigin="anonymous"></script> <script type="text/javascript" src="https://npm.elemecdn.com/[email protected]/dist/fetch.umd.js" crossorigin="anonymous"></script> <script> // 针对 antv 在 IE 11 下 remove 方法的 polyfill if (!('remove' in Element.prototype)) { Element.prototype['remove'] = function () { if (this.parentNode) { this.parentNode.removeChild(this); } }; } </script> <script type="text/javascript" src="https://npm.elemecdn.com/@antv/[email protected]/dist/g2plot.min.js" crossorigin="anonymous"></script> <script type="text/javascript" src="https://npm.elemecdn.com/@antv/[email protected]/dist/umd/l7plot.min.js" crossorigin="anonymous"></script>
No branches or pull requests
项目引用
https://unpkg.com/@antv/l7plot@latest/dist/umd/l7plot.min.js
运行在 IE 11 上,报错了 “Symbol”未定义,IE11 不支持该 ES6 语法
需要做什么改动 L7Plot 才能支持啊,能提供一个编译到兼容 IE11 的版本么
The text was updated successfully, but these errors were encountered: