guy 7 years ago
parent
commit
bce1c86c05
  1. 2
      bi/core.js
  2. 2
      docs/core.js
  3. 2
      src/core/utils/load.js

2
bi/core.js

@ -9183,7 +9183,7 @@ $.extend(BI, {
$import: function () {
var _LOADED = {}; // alex:保存加载过的
function loadReady(src, must) {
var $scripts = $("head script");
var $scripts = $("head script, body script");
$.each($scripts, function (i, item) {
if (item.src.indexOf(src) != -1) {
_LOADED[src] = true;

2
docs/core.js

@ -17630,7 +17630,7 @@ $.extend(BI, {
$import: function () {
var _LOADED = {}; // alex:保存加载过的
function loadReady(src, must) {
var $scripts = $("head script");
var $scripts = $("head script, body script");
$.each($scripts, function (i, item) {
if (item.src.indexOf(src) != -1) {
_LOADED[src] = true;

2
src/core/utils/load.js

@ -14,7 +14,7 @@ $.extend(BI, {
$import: function () {
var _LOADED = {}; // alex:保存加载过的
function loadReady(src, must) {
var $scripts = $("head script");
var $scripts = $("head script, body script");
$.each($scripts, function (i, item) {
if (item.src.indexOf(src) != -1) {
_LOADED[src] = true;

Loading…
Cancel
Save