diff --git a/frontend/src/pages/admin/index.vue b/frontend/src/pages/admin/index.vue index 1dc6b9f..28bdcdf 100644 --- a/frontend/src/pages/admin/index.vue +++ b/frontend/src/pages/admin/index.vue @@ -750,6 +750,10 @@ watch(isDark, () => { updateMapOption() }) +watch(provinces, () => { + updateMapOption() +}, { deep: true }) + onUnmounted(() => { if (chartInstance) { chartInstance.dispose()