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

在使用element-ui项目中使用出现调用失效情况 #815

Closed
yezhihao17 opened this issue Aug 13, 2024 · 5 comments
Closed

在使用element-ui项目中使用出现调用失效情况 #815

yezhihao17 opened this issue Aug 13, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@yezhihao17
Copy link

以前的Issues

问题描述

在使用了element-ui的项目中使用了MessageBox 弹框组件的 this.$prompt、this.$confirm等方法(需要触发两次以上)后,会生成两个水印dom,并且此时的dom监听事件失效(可以修改dom的css属性)。

复现步骤

demo地址:https://codepen.io/yezhihao17/pen/RwzjoqJ
点击demo的【点击打开 Message Box】按钮,然后点击弹窗的【取消】按钮,重复两次该操作。

环境详情

  • watermark-js-plus version: 1.5.2
@zhensherlock
Copy link
Owner

我在chrome 127 上没有复现,方便提供浏览器信息吗?

@yezhihao17
Copy link
Author

Google Chrome:版本 127.0.6533.100(正式版本) (64 位)
这是操作前后的效果
企业微信截图_1723607947545
企业微信截图_1723607976590

图一是正常,图二是错乱,并且图二可以直接修改css的样式来隐藏

@zhensherlock zhensherlock added the bug Something isn't working label Aug 14, 2024
@zhensherlock
Copy link
Owner

已定位问题,感谢反馈,会近期更新

@zhensherlock
Copy link
Owner

已解决上述情况,请更新至最新版本v1.5.3

@yezhihao17
Copy link
Author

感谢作者的快速响应,最新版本已解决上述问题。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants