话不多说,直接上代码深拷贝方式一: JSON let obj = { xxx: 'xx'}; let newObj = JSON.parse(JSON.stringify(obj));方式二:方法实现//深拷贝function deepClone(target) { // Weak