javascript - jQuery 和 Bootstrap 不工作:ERR_CONNECTION_RESET
问题描述
我的 jQuery 和 Bootstrap 未加载并返回以下错误消息:
获取https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js网络::ERR_CONNECTION_RESET
获取https://code.jquery.com/jquery-3.5.1.min.js网络::ERR_CONNECTION_RESET
进口:
jQuery:
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="{{ asset('material') }}/js/core/jquery.min.js"></script>
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
引导程序:
<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>
解决方案
尝试在所有行中使用它
<link rel="stylesheet" href="https://code.jquery.com/jquery-3.5.1.min.js">
推荐阅读
- javascript - 我可以在选定元素变换时禁用变换属性吗: translate3d = (0px, (x)px, 0px)
- c - 如何仅使用 C 中的 write() 函数输出十六进制字符?
- java - 在 Connect4 游戏 Javafx 中为彩色光盘创建掉落效果
- swift - 可以通过单击通知唤醒应用剪辑 - Swift
- react-native - 如何解码 BleManager.read 响应?
- parallel-processing - 默认openMPI over a big machine有一个奇怪的结果
- ios - 是否可以将静态框架合并为动态框架
- python-3.x - Python nmap - PortScannerAsync(),无法全局捕获回调函数数据
- mysql - 是否有一个 sql 查询我想获得具有最早开始日期的最后一个 job_id
- applescript - Applescript 代码不适用于大批量文件