$.messager.alert({
title:'提示',
msg:'操作成功',
icon: 'info',
width: 200,
top:300 (用来指定alert离页面顶端的距离),
title:'提示',
msg:'操作成功',
icon: 'info',
width: 200,
top:300 (用来指定alert离页面顶端的距离),
fn:function(){}(
回调函数
)
});
});
messager和alert同理