From fd1124edecd9b6017a16b56ef6ee57f7901dbc84 Mon Sep 17 00:00:00 2001 From: mutoe Date: Wed, 20 Jun 2018 17:28:57 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20(#351)=20=E5=B0=86=E9=80=9A=E7=94=A8?= =?UTF-8?q?=E5=BC=B9=E6=A1=86=E8=B0=83=E6=95=B4=E4=B8=BA=E7=BB=9D=E5=AF=B9?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE=E9=81=BF=E5=85=8D=E5=90=8C=E6=97=B6=E5=87=BA?= =?UTF-8?q?=E7=8E=B0=E5=A4=9A=E4=B8=AA=E5=BC=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/plugins/message/messageList.vue | 1 - src/plugins/message/style/message.less | 4 +--- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/plugins/message/messageList.vue b/src/plugins/message/messageList.vue index 94d63b41..e3f7aabe 100644 --- a/src/plugins/message/messageList.vue +++ b/src/plugins/message/messageList.vue @@ -32,7 +32,6 @@ export default { }, methods: { add(msg) { - this.closeAll(); const name = msg.name || getUuid(); let newMsg = Object.assign( { diff --git a/src/plugins/message/style/message.less b/src/plugins/message/style/message.less index 4d0ce9b5..4e2b49e8 100644 --- a/src/plugins/message/style/message.less +++ b/src/plugins/message/style/message.less @@ -32,12 +32,10 @@ border-radius: 8px; } &__message { - &+& { - margin-top: 20px; - } svg { flex: 0 0 auto; } + position: absolute; display: flex; align-items: center; flex-wrap: nowrap;