Skip to content
This repository has been archived by the owner on Nov 15, 2018. It is now read-only.

Commit

Permalink
fix: (#351) 将通用弹框调整为绝对位置避免同时出现多个弹框
Browse files Browse the repository at this point in the history
  • Loading branch information
mutoe committed Jun 20, 2018
1 parent de0929c commit fd1124e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion src/plugins/message/messageList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ export default {
},
methods: {
add(msg) {
this.closeAll();
const name = msg.name || getUuid();
let newMsg = Object.assign(
{
Expand Down
4 changes: 1 addition & 3 deletions src/plugins/message/style/message.less
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit fd1124e

Please sign in to comment.