Element: [Bug Report] Message.close() doesn't work

Created on 5 Jun 2018  ·  3Comments  ·  Source: ElemeFE/element

Element UI version

2.4.0

OS/Browsers version

Mac OS 10.13.4 (17E199) Chrome 67.0.3396.62

Vue version

2.5.17-beta.0

Reproduction Link

https://jsfiddle.net/prq3vc7g/3/

Steps to reproduce

1.Create a new instance of Message with options: "duration: 0"
2.this.$message.close()

What is Expected?

The current Message can be closed.

What is actually happening?

The current Message can't be closed.
If close() need an id, how can I get it?

Most helpful comment

All 3 comments

According to Doc, there's nothing else need to provide.

@jikkai Thanks.

Was this page helpful?
0 / 5 - 0 ratings