diff --git a/src/views/dashboard/components/DashboardEffectScatterModal.vue b/src/views/dashboard/components/DashboardEffectScatterModal.vue index 3722859..3687470 100644 --- a/src/views/dashboard/components/DashboardEffectScatterModal.vue +++ b/src/views/dashboard/components/DashboardEffectScatterModal.vue @@ -32,6 +32,7 @@ watch( // 關閉 modal 的處理函數 const handleCancel = () => { + currentTab.value = "desktop"; // 重置到 desktop tab dashboard_effectScatter_modal.close(); }; diff --git a/src/views/dashboard/components/DashboardEffectScatterModalChart.vue b/src/views/dashboard/components/DashboardEffectScatterModalChart.vue index a4dcad2..d496181 100644 --- a/src/views/dashboard/components/DashboardEffectScatterModalChart.vue +++ b/src/views/dashboard/components/DashboardEffectScatterModalChart.vue @@ -31,7 +31,7 @@ const defaultChartOption = { }, }, grid: { - top: "0%", + top: "10%", left: "0%", right: "0%", bottom: "0%",