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

使用webpack4,获取不到main文件中的函数 #46

Open
reynold-Yang opened this issue Sep 6, 2019 · 0 comments
Open

使用webpack4,获取不到main文件中的函数 #46

reynold-Yang opened this issue Sep 6, 2019 · 0 comments

Comments

@reynold-Yang
Copy link

function aaa () {
console.log(2222)
}
// 这样会报错 aaa 没有定义

window.aaa = function() {
console.log(11111)
}

@reynold-Yang reynold-Yang changed the title 使用webpack4,art模版中的dom中的onclick获取不到main文件中的 使用webpack4,获取不到main文件中的函数 Sep 6, 2019
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

1 participant