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: 类实例上的方法单独调用会将this指向更新为调用位置的this,导致startApp方法return出的destory方法的th… #958

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

cpf23333
Copy link

@cpf23333 cpf23333 commented Feb 5, 2025

fix: 类实例上的方法单独调用会将this指向更新为调用位置的this,导致startApp方法return出的destory方法的this指向出现错误,这里改成箭头函数以规避问题
Fixes #954

  • 提交符合commit规范
详细描述

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.

startApp函数.then获取到的destory函数执行报错
1 participant