记录一下:学到一个新的复制对象的方法
Object.assign(Object.create(Object.getPrototypeOf(obj)), obj)
不会丢失函数
fireworks99于2025-02-13 06:34发布的图片
14