屏蔽因跨域而产生的问题
parent
449656b8f1
commit
bafd822b34
|
|
@ -208,9 +208,9 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
|
||||||
|
|
||||||
style += '.pear-social-entrance {background-color:' + color + '!important}';
|
style += '.pear-social-entrance {background-color:' + color + '!important}';
|
||||||
style += '.pear-admin .pe-collaspe {background-color:' + color + '!important}';
|
style += '.pear-admin .pe-collaspe {background-color:' + color + '!important}';
|
||||||
if ($("iframe").contents().find("#customTheme").length > 0) {
|
/* if ($("iframe").contents().find("#customTheme").length > 0) {
|
||||||
$("iframe").contents().find("#customTheme").remove();
|
$("iframe").contents().find("#customTheme").remove();
|
||||||
}
|
} */
|
||||||
$("#pearadmin-bg-color").html(style);
|
$("#pearadmin-bg-color").html(style);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue