perf: resize

feat-im-0607-xwk
向文可 2 years ago
parent ffe1bb7690
commit 7a98d65a36

@ -69,6 +69,7 @@
const handleChart = (selector, name, data) => {
const chart = echarts.init(document.querySelector(selector));
window.addEventListener('resize', () => nextTick(() => chart.resize()));
const option = {
gradientColor: ['#1DE7FF', '#249AFF', '#6F41FA', '#6F41FA'],
visualMap: [

Loading…
Cancel
Save