Skip to content

a-menu组件报错:Uncaught (in promise) TypeError: this.isContextmenuToShow is not a function #8361

@alon202501

Description

@alon202501

环境:
node: 20.18.0
pnpm: 10.7.0
Chrome: 140.0.7339.133(正式版本) (arm64)
vue: 3.5.12
ant-design-vue: 4.2.6

代码实现方式:
代码是按照官方文档中内嵌菜单实现

错误描述:
在使用a-menu组件时报错Trigger.js中的623行 if (this.isContextmenuToShow()) { 中 this.isContextmenuToShow is not a function

Image Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions