解决:
//图例动态置灰 option.legend.selected = (data || []).reduce((prev, cent) => { const {name, value} = cent; return Object.assign({}, prev, { [name]: !['未见异常数量', 'Normal'].includes(name) && !!value, }); }, {});
页面:(日志异常检测)