在严格模式下(即11),不允许将AngularJS分配给只读属性 [英] AngularJS Assignment to read-only properties is not allowed in strict mode in ie 11
问题描述
我在使用ie 11
TypeError:在严格模式下,不允许在
Anonymous function
的链接(ves-min.js:490:7
)(compositeLinkFn (angular.js:6071:13
的nodeLinkFn (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
) atAnonymous function
(angular.js:7079:34)enter code here
atnodeLinkFn (angular.js:6677:13)
atcompositeLinkFn (angular.js:6071:13
) atpublicLinkFn (angular.js:5967:30)
at link(angular-route.js:919:7)
atboundTranscludeFn (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屋!