mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
完成底层多皮肤风格代码;
This commit is contained in:
@@ -1,4 +1,17 @@
|
||||
define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefined) {
|
||||
define(["jquery", "tableSelect", "ckeditor", 'miniTheme'], function ($, tableSelect, undefined, miniTheme) {
|
||||
|
||||
window.onInitElemStyle = function () {
|
||||
miniTheme.renderElemStyle()
|
||||
|
||||
$('iframe').each(function(index,iframe){
|
||||
|
||||
if(typeof iframe.contentWindow.onInitElemStyle == "function"){
|
||||
iframe.contentWindow.onInitElemStyle();
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
window.onInitElemStyle();
|
||||
|
||||
var form = layui.form,
|
||||
layer = layui.layer,
|
||||
@@ -955,7 +968,7 @@ define(["jquery", "tableSelect", "ckeditor"], function ($, tableSelect, undefine
|
||||
} catch (e) {
|
||||
value = undefined;
|
||||
}
|
||||
|
||||
|
||||
if (defaultValue != undefined && admin.empty(value)) {
|
||||
value = defaultValue;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user