驾驶舱

This commit is contained in:
‘937886381’
2024-05-10 11:10:42 +08:00
parent 9c9dba5452
commit f312be08bf
14 changed files with 131 additions and 92 deletions

View File

@@ -1,6 +1,7 @@
import * as echarts from "echarts";
function __resizeHandler(entries) {
console.log(entries);
for (const entry of entries) {
if (entry.contentBoxSize) {
// manipulate contentBoxSize
@@ -32,7 +33,7 @@ export default {
const resizeObserver = new ResizeObserver(__resizeHandler.bind(this));
return {
MIN_WIDTH: 400,
MIN_WIDTH: 390,
chart_mixin_chartInstance: null,
chart_mixin_observer: resizeObserver,
chart_mixin_options: {