// 错误写法
that.couponList = couponListTemp.filter(item=>{item.categoryId &&(item.categoryId === that.goods.categoryId}))
// 正确写法
that.couponList = couponListTemp.filter(item=>item.categoryId &&(item.categoryId === that.goods.categoryId))
// 正确写法
that.couponList = couponListTemp.filter(item=>{return item.categoryId &&(item.categoryId === that.goods.categoryId}))