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

[Bug report] 引入 @logicflow/core1.2.5 导致 Promise.Finally 缺失 #1396

Closed
Mrmhuang opened this issue Oct 31, 2023 · 0 comments
Closed

Comments

@Mrmhuang
Copy link

Mrmhuang commented Oct 31, 2023

  1. 问题触发的条件

项目中只要引入@logicflow/core1.2.5,并且使用,原生 Promise.Finally 被覆盖,导致 Promise.Finally 缺失。
image
image

  1. 期望的表现
    恢复Promise.Finally,不要覆盖原生的。

  2. 实际的表现
    引入原生@logicflow/core1.2.5使用后,Promise.Finally 被清除,且 Promise.then、Promise.catch、Promise.constructor 被重写:

image

LogicFlow Version: 1.2.5
Node Version: none
Platform: chrome 117、react 16.8.3

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

No branches or pull requests

1 participant