arco-design-vue
arco-design-vue copied to clipboard
函数调用modal,按回车会无限新增modal
- [ ] I'm sure this does not appear in the issue list of the repository
Basic Info
- Package Name And Version: @arco-design/[email protected]
- Browser: chrome97.0.4692.71
- Reproduction Link: https://arco.design/vue/component/modal
What is expected?
单击“回车键”后关闭modal
Steps to reproduce
this.$modal.info({ title: 'Info Title', content: 'This is an info message' }); 单击“回车键”
codepen After opening the modal. Click the keyboard "enter".
Add FocusLock Compoent