let value={

staffId: null,
unitPrice: 5,
wx: null

}

Object.keys(value).forEach(name=>{if(value[name]===null){value[name]=”}});