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

ofd.js对项目全局的for in循环有影响 #96

Open
maxli323 opened this issue Sep 5, 2023 · 1 comment
Open

ofd.js对项目全局的for in循环有影响 #96

maxli323 opened this issue Sep 5, 2023 · 1 comment

Comments

@maxli323
Copy link

maxli323 commented Sep 5, 2023

for(let key in list)
引入ofd之后,key值会多出一个值pipeline,导致循环出错

@wangstar
Copy link

我之前也遇到了我是这么处理的。
Object.defineProperty(Array.prototype, "pipeline", {
enumerable: false,
});

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

2 participants