SOURCE

let data = {
    certBeginDate: "2022-1-7",
certEndDate: "2022-1-7",
certNo: "12345",
certType: "1",
enterpriseName: "企业名称",
fixedTel: "45678",
isLongTerm: false,
licenseNo: "45678",
licenseNoValid: "",
licenseNoValidLong: true,
loginName: "1728675335@qq.com",
regAddrCityCode: "110000",
regAddrDistrictCode: "110102",
regAddrDtl: "北明",
regAddrProvCode: "110000",
serviceMobile: "",
}

let data1 = {
    name:"345",
    age:"67"
}
let obj = Object.assign(data,data1)

console.log(obj)
console 命令行工具 X clear

                    
>
console