if (userinfo.hospital_id == 117) {
that.per_options = [...that.per_options, ...that.hzlist]
that.per_options = that.per_options.map(item => {
if(item.id!==117&&item.id!==506&&item.id!==121){
return item
}
}).filter(Boolean)
}
参照如下改一下
item.id!=117&&item.id!=506&&item.id!=121
再加个else 直接不需要过滤条件