试图让 Angular 在 IE 11 中工作。我已经尝试了我在网上找到的所有内容。
我收到以下错误:
SCRIPT1002:语法错误
文件:polyfills.js,行:2358,列:1
第2358行
class Disposable {
/**
* Frees internal resources.
*/
dispose() {}
}
Run Code Online (Sandbox Code Playgroud)
SCRIPT1002:语法错误
文件:scripts.js,行:424,列:35
第 424 行
let SoapService = SoapService_1 = class SoapService {
constructor(servicePort, servicePath, targetNamespace) {
this.debug = false;
this.asynchronous = true;
this.localName = false;
this.servicePort = '';
this.servicePath = '';
this.serviceUrl = '';
this.targetNamespace = '';
this.envelopeBuilder_ = null;
this.xmlResponseHandler_ = null;
this.jsoResponseHandler_ = null;
this.servicePort = servicePort;
this.servicePath = servicePath;
this.serviceUrl = servicePort + servicePath; …Run Code Online (Sandbox Code Playgroud)