修改兼容性

master
suixy 2 months ago
parent fe1a61c28d
commit 09dddb593d

@ -48,7 +48,7 @@ const resize = () => {
if (resizeTime.value) { if (resizeTime.value) {
resizeTime.value = false; resizeTime.value = false;
if (option.value && chartRef.value) { if (option.value && chartRef.value) {
chartRef.value.resize(); // chart.value.resize();
} }
setTimeout(() => { setTimeout(() => {
resizeTime.value = true; resizeTime.value = true;

@ -187,7 +187,7 @@ async function getChart() {
right: 0 right: 0
}, },
grid: { grid: {
top: '15%', top: '40',
bottom: '10%', bottom: '10%',
left: '3%', left: '3%',
right: '3%' right: '3%'

Loading…
Cancel
Save