From 4300e2394a205f3afbf4a3528db851e5636041d9 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期五, 19 七月 2024 14:24:25 +0800 Subject: [PATCH] fix: 修改页面路径 --- customer_list/ch/ai_html/views/demo/html/WorkOrder.html | 10 ++++++++-- 1 files changed, 8 insertions(+), 2 deletions(-) diff --git a/customer_list/ch/ai_html/views/demo/html/WorkOrder.html b/customer_list/ch/ai_html/views/demo/html/WorkOrder.html index 5c1c5cd..443451b 100644 --- a/customer_list/ch/ai_html/views/demo/html/WorkOrder.html +++ b/customer_list/ch/ai_html/views/demo/html/WorkOrder.html @@ -180,7 +180,7 @@ }; onMounted(() => { // getOverViewList(); - window.addEventListener('resize', () => { + window.parent.addEventListener('resize', () => { inspectionChart.value.resize(); salesRankRef.value.resize(); }); @@ -195,6 +195,12 @@ var option = { legend: {}, tooltip: {}, + grid: { + left: '2%', // 璋冩暣宸﹁竟璺� + right: '5%', // 璋冩暣鍙宠竟璺� + bottom: '6%', + containLabel: true, // 纭繚鏍囩鍜岃酱鏍囬琚寘鍚湪瀹瑰櫒鍐� + }, dataset: { source: [ ['product', '寰幆瀹屾垚鐜�', '缁翠繚瀹屾垚鐜�'], @@ -236,7 +242,7 @@ left: '2%', // 璋冩暣宸﹁竟璺� right: '5%', // 璋冩暣鍙宠竟璺� top: '2%', // 璋冩暣涓嬭竟璺� - + bottom: '15%', containLabel: true, // 纭繚鏍囩鍜岃酱鏍囬琚寘鍚湪瀹瑰櫒鍐� }, xAxis: { -- Gitblit v1.9.3