Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

alert and confirm as component without import #9337

Closed
Naaach opened this issue Jan 17, 2019 · 3 comments
Closed

alert and confirm as component without import #9337

Naaach opened this issue Jan 17, 2019 · 3 comments

Comments

@Naaach
Copy link

Naaach commented Jan 17, 2019

Version

2.5.22

Reproduction link

CodePen Link

Steps to reproduce

Only run it.

What is expected?

a simple confirm element or nothing

What is actually happening?

a dialog whit a anonymous function on it

@Naaach
Copy link
Author

Naaach commented Jan 17, 2019

Real Reproduction link
https://codepen.io/Naaach/pen/maYLjj

@Krahegwen
Copy link

It works with every window method like i.e. window.print

@yyx990803
Copy link
Member

This has nothing to do with Vue. You are implicitly referencing global variables.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants