📜  嵌套扩展运算符对象 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:03:28.937000             🧑  作者: Mango

代码示例1
return { 
    ...state, 
    loginForm: {
        ...state.loginForm,
        email: action.payload.email
    } 
}