mirror of https://github.com/layui/layer
fix layer.load bug
parent
303c79f0b5
commit
863e5009d0
|
@ -110,7 +110,7 @@ window.layer = {
|
||||||
//加载层快捷引用
|
//加载层快捷引用
|
||||||
load: function(parme, icon){
|
load: function(parme, icon){
|
||||||
if(typeof parme === 'string'){
|
if(typeof parme === 'string'){
|
||||||
return this.msg(parme, icon, 16);
|
return this.msg(parme, icon || 0, 16);
|
||||||
} else {
|
} else {
|
||||||
return $.layer({
|
return $.layer({
|
||||||
time: parme,
|
time: parme,
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue