代码调整

This commit is contained in:
dong 2023-10-25 10:55:16 +08:00
parent 678a50c24c
commit e8e4919b08

View File

@ -710,6 +710,9 @@ onUnmounted(() => {
if (kilometerConvertDialog.value) { if (kilometerConvertDialog.value) {
kilometerConvertDialog.value.hide(); kilometerConvertDialog.value.hide();
} }
if (sectionCodePointDialog.value) {
sectionCodePointDialog.value.hide();
}
drawStore.destroy(); drawStore.destroy();
drawStore.setCategoryType(null); drawStore.setCategoryType(null);
}); });
@ -768,6 +771,7 @@ function openSectionCodePointList() {
}) })
.onCancel(() => { .onCancel(() => {
sectionCodePointDialog.value = null; sectionCodePointDialog.value = null;
drawStore.setEditSectionCodePointIndex(-1);
}); });
} }