使用Jquery 3.3.1完整版而不是引导程序4.3附带的苗条版本会返回错误

时间:2019-03-04 08:54:36

标签: jquery twitter-bootstrap bootstrap-4

这是我面临的错误,但是当我从jquery中删除完整性属性时,似乎没有错误。什么是诚信,这对我的网站有什么帮助。我可以删除它吗?

1) *Failed to find a valid digest in the 'integrity' attribute for resource 'https://code.jquery.com/jquery-3.3.1.min.js' with computed SHA-256 integrity 'FgpCb/KJQlLNfOu91ta32o/NMZxltwRo8QtmkMRdAu8='. The resource has been blocked.
util.js:55 

2) Uncaught TypeError: Cannot read property 'fn' of undefined
    at util.js:55
    at bootstrap.min.js:6
    at bootstrap.min.js:6
(anonymous) @ util.js:55
(anonymous) @ bootstrap.min.js:6
(anonymous) @ bootstrap.min.js:6*
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"></script>
<script type="text/javascript" src="{{ site.baseurl }}/js/script.js"></script> scroll
</html>

0 个答案:

没有答案