Uncaught TypeError: $(...).modal is not a function
在使用Bootstrap中的 模态框时,一直在弹出Uncaught TypeError: $(...).modal is not a function 百度后对比发现引用路径及方法一致但仍是报错

打开控制台后显示 Uncaught Error: Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4 发现是jQuery版本与Bootstrap版本问题所导致的, 更换成高于1.9.1版本的即可解决(ps:我使用的是bootstrap-3.3.7-dist)


浙公网安备 33010602011771号