1. 程式人生 > >layer.open如何讓高度自適應?

layer.open如何讓高度自適應?

layer.open({
    type: 2,
    title:'87945',
    area: '800px',
    shade: [0.8, '#393D49'],
    content:'不要用 qq 官網,用你自己開發的網站試試',
    success: function(layero, index) {
        layer.iframeAuto(index);
    }
});