layui执行操作的时候弹出等待框--亲测可用

function showLoad() {
 
        return layer.msg('拼命执行中...', {icon: 16,shade: [0.5, '#f5f5f5'],scrollbar: false,offset: 'auto', time:100000});
        
    }
    
    function closeLoad(index) {
        layer.close(index);
        
    }
    function showSuccess() {
        layer.msg('执行成功!',{time: 1000,offset: 'auto'});
        
    }

转载:https://blog.csdn.net/u012442504/article/details/99593528

posted @ 2020-11-27 20:10  搬砖小伙子  阅读(1340)  评论(0编辑  收藏  举报