DLTech21 / ofd.js

OFD板式文件html渲染方案及组件
Apache License 2.0
227 stars 174 forks source link

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

Open maxli323 opened 1 year ago

maxli323 commented 1 year ago

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

wangstar commented 10 months ago

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