ZedCoding commented on issue #20151: URL: https://github.com/apache/echarts/issues/20151#issuecomment-2729160189
watch( () => props.option, (newOption) => { if (!chart) return; const optionValue = toValue(newOption); chart.setOption(optionValue, !chart.getOption()); if (props.autoAction) { nextTick(() => { startAction(); }); } }, { deep: true } ); 问题:定时轮询执行setOption 页面长时间放置 内存占用会越来越高 echarts版本5.6.0 怀疑setOption有内存泄露问题 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org