使用layer制作dialog,当我们打开多个layer.open()的时候总是关闭上次创建的,
这个时候需要添加设置,
layer.open({
type:1,//这个必须设置;默认是消息,不允许存在多个
})