屏蔽因跨域而产生的问题

develop
就眠仪式 2020-10-25 23:24:18 +08:00
parent 449656b8f1
commit bafd822b34
1 changed files with 2 additions and 2 deletions

View File

@ -208,9 +208,9 @@ layui.define(['table', 'jquery', 'element', 'form', 'tab', 'menu', 'frame'],
style += '.pear-social-entrance {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();
}
} */
$("#pearadmin-bg-color").html(style);
}
};