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

【vite】子组件生命周期方法未执行 #3114

Closed
sufuwang opened this issue Dec 27, 2021 · 2 comments
Closed

【vite】子组件生命周期方法未执行 #3114

sufuwang opened this issue Dec 27, 2021 · 2 comments
Assignees
Labels
bug Something isn't working h5 vue3

Comments

@sufuwang
Copy link

测试工程 https://github.com/sufuWang/uniapp_vite
页面跳转时,页面所使用到的组件的 destroyed 方法未执行

@fxy060608 fxy060608 self-assigned this Dec 28, 2021
@fxy060608 fxy060608 added bug Something isn't working h5 vue3 labels Dec 28, 2021
fxy060608 added a commit that referenced this issue Dec 28, 2021
@fxy060608
Copy link
Collaborator

  1. vue3 中的销毁生命周期是 unmounted
  2. 已修复,cli更新至:3.0.0-alpha-3030420211227002
    建议可以描述清楚一些,比如标明是哪个平台出现的问题,这样可以提高解决问题的效率

@sufuwang
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 h5 vue3
Projects
None yet
Development

No branches or pull requests

2 participants