can variables be written in legend.selected in echarts? Why are the variables I wrote treated as strings?
console.log(aa);
optionFH.legend.selected={
aa:true,
"xx":true,
"xx":true,
"xxx":false,
"xxx":false,
}
the print result is as follows.
Why is my aa treated as a string? How can I get the browser to resolve to variables?