as mentioned, I have already introduced polyfill into webpack.base.config, but I am afraid that it is not enough to quote
in the entry file.// webpack.base.conf.js
entry: {
index: ["babel-polyfill", "eventsource-polyfill", "./src/apps/Index/main.js"],
portrait: ["babel-polyfill", "eventsource-polyfill", "./src/apps/Portrait/main.js"],
mannequin: ["babel-polyfill", "eventsource-polyfill", "./src/apps/Mannequin/main.js"],
diagnosis: ["babel-polyfill", "eventsource-polyfill", "./src/apps/Diagnosis/main.js"]
},
// main.js
import "babel-polyfill"
import Vue from "vue"
import VueRouter from "vue-router"
import Vuex from "vuex"
but there is still an error in ie
one is that script1004: is missing";"
another is that script5007: cannot get the undefined or null referenced attribute "call"
Baidu has tried other methods, such as https://zhuanlan.zhihu.com/p/. transform-es2015-classes and transform-proto-to-assign did not solve the problem.
add that the local code localhost has no problem opening ie. The code deployed on the server after build will report an error