Internet Explorer has restricted this page from running scripts or ActiveX controls

Temporary need for a simple page, vue+elementUI, not compatible with IE

The pop-up window of the ie browser prompts: Internet Explorer has restricted the running of scripts or ActiveX controls on this web page
Solution: Add a new line between the start tag of the page html and the start tag of the head, and add the following code:

<!-- saved from url=(0014)about:internet -->

IE does not support ES6 syntax in vue. Solution:
You can install a babel-polyfill plug-in for the project.
Because mine is a simple html file, I directly import cdn:
(must be imported before other js)

<script src="https://cdn.bootcss.com/babel-polyfill/6.23.0/polyfill.min.js"></script>

Guess you like

Origin blog.csdn.net/weixin_43392545/article/details/108337251