修改兼容性

master
suixy 2 months ago
parent fe1a61c28d
commit 09dddb593d

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

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

Loading…
Cancel
Save