亚洲在线久爱草,狠狠天天香蕉网,天天搞日日干久草,伊人亚洲日本欧美

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

如何在 swal 中創建/激活垂直滾動條 (SweetAlert)

如何在 swal 中創建/激活垂直滾動條 (SweetAlert)

catspeake 2023-10-14 18:41:25
我不知道這是否可行,但是是否有可能在 swal SweetAlert 警報模式下激活或創建垂直滾動條?甜蜜警報問題是我收到了非常大的錯誤列表,并且超出了模式顯示限制。   $.ajax({    url: "/financeiro-gerenciar/remover-financeiro",    type: "POST",    data: { ids: selecedtRows },    traditional: true,    success: function (result) {        stopLoadGlobal();        //Desmarcar o select do header        $("#dtFinanceiroIndex .selectable-all").prop('checked', false);        reload_dtFinanceiroIndex();        if (result.success) {            swal("Sucesso", result.message + " :)", "success");            return false;        }        else {            //console.log(result.errors.value.errors)            if (!result.success) {                var errosRecebidos = result.message + "\n";                $.each(result.errors.value.errors, function (key, value) {                    errosRecebidos = errosRecebidos + '\n' + value                });            }             swal("Aten??o", errosRecebidos + " :(", "error");            return false;        }    },    error: function () {        stopLoadGlobal();        alert("Oops! Algo deu errado.");        return false;    }});  我的甜蜜警報CSS:.sweet-overlay {    /*z-index: 100000000000 !important;*/    z-index: 999999999 !important;}.sweet-alert {    /*z-index: 100000000000 !important;*/    z-index: 999999999 !important;}.sweet-alert .swal-text {    max-height: 6em; /* To be adjusted as you like */    overflow-y: scroll;    width: 100%;}
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 221 瀏覽
慕課專欄
更多

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯系客服咨詢優惠詳情

幫助反饋 APP下載

慕課網APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網微信公眾號