bootstrap.min.js:6 Uncaught TypeError: 当我点击下拉按钮时,n 不是一个返回的构造函数

sta*_*ngs 4 dropdown bootstrap-4 popper.js

我的页面中有多个下拉菜单。位于导航内部工作正常,但页面内部不起作用

位于导航内

在此处输入图片说明

页面内部

在此处输入图片说明

在此处输入图片说明

问题是什么?谢谢你。

ben*_*000 9

Bootstrap 尚不兼容 Popper.js 版本 2,请参阅https://github.com/snapappointments/bootstrap-select/issues/2385#issuecomment-579892665

该捆绑包有效,因为它捆绑了正确版本的 Popper,请参阅https://getbootstrap.com/docs/4.5/getting-started/introduction/