We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用指令显示菜单后,点击任意区域自动隐藏菜单
使用指令显示菜单后无法,点击其他区域不隐藏
Vue
The text was updated successfully, but these errors were encountered:
方便给个可以复现的代码吗?看 https://heynext.xyz/v-contextmenu/ 里是正常的吧
Sorry, something went wrong.
我也出现了类似情况
有大佬解决嘛?
自定义指令clickoutside里执行可以隐藏 Object.keys(window.$$VContextmenu).forEach((key) => { window.$$VContextmenu[key].hide(); });,可以隐藏,但是使用$refs.contextmenu.hide()不起效果
No branches or pull requests
期望结果
使用指令显示菜单后,点击任意区域自动隐藏菜单
实际结果
使用指令显示菜单后无法,点击其他区域不隐藏
复现步骤
环境说明
Vue
版本:3.0.0The text was updated successfully, but these errors were encountered: