diff --git a/src/layouts/DrawLayout.vue b/src/layouts/DrawLayout.vue index 598cf3a..6a5cb73 100644 --- a/src/layouts/DrawLayout.vue +++ b/src/layouts/DrawLayout.vue @@ -710,6 +710,9 @@ onUnmounted(() => { if (kilometerConvertDialog.value) { kilometerConvertDialog.value.hide(); } + if (sectionCodePointDialog.value) { + sectionCodePointDialog.value.hide(); + } drawStore.destroy(); drawStore.setCategoryType(null); }); @@ -768,6 +771,7 @@ function openSectionCodePointList() { }) .onCancel(() => { sectionCodePointDialog.value = null; + drawStore.setEditSectionCodePointIndex(-1); }); }