gpt4 book ai didi

jquery - 为什么我收到 "event.returnValue is deprecated..."以及如何纠正它?

转载 作者:行者123 更新时间:2023-12-01 00:18:26 35 4
gpt4 key购买 nike

在我的网站中,当我从浏览器按 F12 时,我在控制台(Chrome 开发工具)中看到错误/警告:“event.returnValue 已弃用。请改用标准 event.preventDefault() .

但是我在我的项目中搜索“event.returnValue”,但没有找到该字符串的实例。

假设是某些 Microsoft 或 jQuery 编写的代码导致了此问题,我应该采取什么措施吗?如果是,该怎么办?

最佳答案

查看这张票

http://bugs.jquery.com/ticket/14320

这似乎发生在最新版本的 Chrome 中。我想你除了忽略它之外,真的无能为力。

关于jquery - 为什么我收到 "event.returnValue is deprecated..."以及如何纠正它?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20231511/

35 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com