如何解决ionic5问题:“ index.js:7错误:Function.a.set处的值类型无效”
每次我运行任何离子项目时都会出现这两个错误;它们会出现在我尝试过的所有浏览器中,例如Chrome,Firefox,Microsoft Edge等。
我还尝试运行运行良好的旧项目,现在显示相同的错误!
Error: Invalid value type
at Function.a.set (index.js:7)
at t.setIsTrutedEnforced (index.js:7)
at index.js:49
Uncaught (in promise) Error: Given action "NormalMode/SetPageData",reducer "isTrustedEnforced" returned undefined. To ignore an action,you must explicitly return the previous state. If you want this reducer to hold no value,you can return null instead of undefined.
at index.js:7
at Object.g [as dispatch] (index.js:7)
at t.SetPageData (index.js:7)
at index.js:49
解决方法
这些错误是由Kaspersky Password Manager扩展脚本抛出的(至少在我看来是源)。 如果您禁用该扩展程序,错误将停止显示。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。