creotip / vue-particles

Vue.js component for particles backgrounds ✨
http://vue-particles.netlify.com/
1.44k stars 194 forks source link

vue严格模式下arguments不可使用,能否换成命名函数来解决 #73

Open WYinGYA opened 2 years ago

WYinGYA commented 2 years ago

Object.deepExtend = (function f(destination, source){ for (var property in source) { if (source[property] && source[property].constructor && source[property].constructor === Object) { destination[property] = destination[property] || {}; f(destination[property], source[property]); } else { destination[property] = source[property]; } } return destination; })

YellRes commented 7 months ago

同样的问题,解决没有 @WYinGYA