萌新初学,求大大们帮助seajs.config({ base: "./js/", alias: { "jquery": "jquery-1.12.4.min.js", "swiper" : "idangerous.swiper2.7.6.min.js", "swiper3d" :"swiper.progress.min.js", "imglazy" : "jquery.lazyload.min.js" }})// 加载入口模块seajs.use("common")common.jsdefine(function(require, exports, module) { require('jquery'); require('swiper'); require('swiper3d'); require('swiper_config');});因为加载时间问题, 导致会出现其他JS比JQ加载快,而找不到JQ,如何解决呢?我想按顺序执行这些JS
添加回答
举报
0/150
提交
取消