This commit is contained in:
thinkgem
2021-12-30 23:23:54 +08:00
parent 53734b1849
commit 8c1386d71f
2 changed files with 4 additions and 1 deletions

View File

@@ -141,9 +141,11 @@ var layer = {
}, type ? {} : options));
},
msg: function(content, options, end){ //最常用提示层
//最常用提示层
msg: function(content, options, end){
var type = typeof options === 'function', rskin = ready.config.skin;
var skin = (rskin ? rskin + ' ' + rskin + '-msg' : '')||'layui-layer-msg';
options = options || {};
skin = skin + ' ' + (options.positionClass || '');
var anim = doms.anim.length - 1;
if(type) end = options;