在严格模式下(即11),不允许将AngularJS分配给只读属性 [英] AngularJS Assignment to read-only properties is not allowed in strict mode in ie 11

查看:225
本文介绍了在严格模式下(即11),不允许将AngularJS分配给只读属性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在使用ie 11

TypeError:在严格模式下,不允许在Anonymous function的链接(ves-min.js:490:7)(compositeLinkFn (angular.js:6071:13nodeLinkFn (angular.js:6677:13)enter code here)的链接(ves-min.js:490:7)上分配只读属性publicLinkFn (angular.js:5967:30)在链接(angular-route.js:919:7)boundTranscludeFn (angular.js:6091:9)

TypeError: Assignment to read-only properties is not allowed in strict mode at link (ves-min.js:490:7) at Anonymous function (angular.js:7079:34)enter code here at nodeLinkFn (angular.js:6677:13) at compositeLinkFn (angular.js:6071:13) at publicLinkFn (angular.js:5967:30) at link (angular-route.js:919:7) at boundTranscludeFn (angular.js:6091:9)

请帮助我一些解决方案,谢谢.

Please help me some solution, thanks.

推荐答案

在您的head标签中添加此行并刷新,当它要求允许块内容"时,单击是".

Add this line in your head tag and do refresh, when It will ask for "allow block content" click "yes".

<meta http-equiv="X-UA-Compatible" content="IE=11" />

这篇关于在严格模式下(即11),不允许将AngularJS分配给只读属性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆