可以使用如下方法来完全复制原来的 state, 再进行操作对于数组: concat, slice, 或 spread operator对于对象: Object.assign 或 spread operator参考 valentinog.com