JS方法is not defined解决办法--方法不能写在导入jQuery包的script标签中

NoSuchKey