diff --git a/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue b/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue index 8c5af3485f..8dad666736 100644 --- a/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue +++ b/frontend/src/components/pure/ms-minder-editor/main/mainEditor.vue @@ -291,7 +291,7 @@ watch( () => importJson.value.treePath, (arr) => { - currentTreePath.value = arr; + currentTreePath.value = arr || []; } );