Skip to content

Invalid navigation menu onchange event ( <a-menu @openChange="openchange" mode="inline"> 在html引用JS开发环境无效) #1755

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

Closed
1 task
itxstcom opened this issue Feb 3, 2020 · 2 comments
Labels

Comments

@itxstcom
Copy link

itxstcom commented Feb 3, 2020

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

1.4.10

Environment

chrome、 Notepad、html

Reproduction link

https://www.antdv.com/components/menu-cn/#api

Steps to reproduce

<a-menu @openchange="openchange" mode="inline">在vscode node.js环境下是有效的,但是如果我是网页直接引用antd.js 网址就事件就无效,改成<a-menu @Open-Change="openchange" mode="inline"> 仍然无效。

vue.js:640 [Vue tip]: Event "openchange" is emitted in component but the handler is registered for "openChange". Note that HTML attributes are case-insensitive and you cannot use v-on to listen to camelCase events when using in-DOM templates. You should probably use "open-change" instead of "openChange".

What is expected?

There should be no problem

What is actually happening?

invalid

@tangjinzhou
Copy link
Member

@github-actions
Copy link

github-actions bot commented Feb 3, 2021

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Feb 3, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants