$(...).modal is not a function

原因1:加载顺序;jq,bootstrap.js

原因2:版本低;jq的版本过低

原因3:页面中加载页面,在加载的页面重新引jq

原文地址:https://www.cnblogs.com/fanting/p/9987190.html