easyUI的messager 可以在屏幕的各个方向弹出提示框,用起来比价方便,但是在提示大量的文本内容的时候easyUI并不会出现滚动条,用起来不方便,messager有个属性height可以设置easyUI的高度,只要设置为100% 提示框就会随着内容大小而变大,前提是显示的内容要在放入msg之前排好版式,否则还是会挺难看的,messager中的换行需要用到的是br而不是\n
$.messager.show({
title:modulesName+'--未报送机构清单',
msg:decodeURI(isNoReceptionDeptsName),
showType:'slide',
height:'100%',
style:{
left:'',
right:0,
top:document.body.scrollTop+document.documentElement.scrollTop,
bottom:''
}
});7条数据

1条数据
