摘要: deepClone(newObj,oldObj){ for( var k in oldObj){ var item = oldObj[k]; //如果是数组 if(item instanceof Array){ newObj[k] = []; this.deepClone(newObj[k],ite 阅读全文
posted @ 2020-04-16 14:58 Peter.seven 阅读(162) 评论(0) 推荐(0) 编辑