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

fix: PopUp组件的卸载函数可能会被触发两次而导致报错的问题 #286

Merged
merged 2 commits into from
Jan 30, 2025

Conversation

neooier
Copy link
Contributor

@neooier neooier commented Jan 29, 2025

添加了lodash@types/lodash用于修复此问题

- 在 package.json 中添加 lodash "^4.17.21" 作为项目依赖
- 在 package.json 中添加 @types/lodash "^4.17.15" 作为类型定义依赖
- 引入 lodash 的 once 函数,确保弹窗关闭及卸载逻辑只执行一次
@neooier
Copy link
Contributor Author

neooier commented Jan 29, 2025

#285

@Littlefean Littlefean merged commit a2c0edb into LiRenTech:master Jan 30, 2025
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants