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

options的onChange打印出来的value值为undefined #38

Open
loneyao opened this issue Jan 28, 2021 · 1 comment
Open

options的onChange打印出来的value值为undefined #38

loneyao opened this issue Jan 28, 2021 · 1 comment

Comments

@loneyao
Copy link

loneyao commented Jan 28, 2021

options我是这样定义的

options: {
onChange: (e) => {
console.log(e)
},
mode: 'code'
}

@yansenlei
Copy link
Owner

Hi, @loneyao
jsoneditor文档中有说明onChange回调中不会有参数。
如果需要拿值,v-model应该可以满足了,有什么特殊需求吗?

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

2 participants