这是 IE11 控制台 vendor.js (65816,1) 中的行;
class AppConfigCredential {
constructor(credential, secret) {
this.credential = credential;
this.secret = secret;
}
我正在尝试从角度读取 azure appconfiguration 的功能标志,它对除 IE11 之外的所有浏览器都运行良好,我尝试替换 polyfile 并添加 tsconfig-es5.app 并根据需要更改角度 json,但没有使用和调用函数。
enter code here
async GetFeatureToggleValue(key: any) {
const client = new AppConfigurationClient(this.AppconfigURL);;
return await client.getConfigurationSetting({ key:
".appconfig.featureflag/" + key }, { onlyIfChanged: true }); }