update event associations

This commit is contained in:
Qiuxia Fan
2022-07-28 17:49:30 +08:00
parent b8ff623eb8
commit 1f98d2bfa1
2 changed files with 77 additions and 45 deletions

View File

@@ -115,6 +115,10 @@ watch(
}
if (props.filters) {
if (props.filters.isRange) {
if (!props.filters.duration.startTime) {
setOptions(props.option);
return;
}
const list = props.option.series[0].data.map(
(d: (number | string)[]) => d[0]
);