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

BasicTree嵌套在basicModal中会导致自定义的右键菜单的无法打开 #3919

Open
3 tasks done
Leonsama opened this issue Jun 14, 2024 · 0 comments
Open
3 tasks done

Comments

@Leonsama
Copy link

Leonsama commented Jun 14, 2024

⚠️ IMPORTANT ⚠️ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

  • Read the docs.
  • Make sure the code is up to date. (Some bugs have been fixed in the latest code)
  • This is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.

Describe the bug

BasicTree嵌套在basicModal中会导致自定义的右键菜单的无法打开(能进方法,但不能打开右键菜单)

Reproduction

image
弹框下能进入方法,但无法打开
<BasicModal @register="registerModal" title="详细配置" :width="'40%'"> <Alert> <template #message> [<span style="color: red">提示</span>]:<span style="color: green">选中指标项右键可编辑节点</span> </template> </Alert> <BasicTree :treeData="treeData" :beforeRightClick="getRightMenuList" /> </BasicModal>
image
页面下能进入方法,也能打开
<Alert type="info" show-icon> <template #message> [<span style="color: red">提示</span>]:<span style="color: green">选中指标项右键可编辑节点</span> </template> </Alert> <BasicTree :treeData="treeData" :beforeRightClick="getRightMenuList" />

System Info

  • Operating System: Windows 11
  • Node version: 20.12.0
  • pnpm version: 9.0.5
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