Vanessa 2025-10-19 17:05:15 +08:00
parent 7cef0847f4
commit a115273ccf

View file

@ -644,8 +644,6 @@ export class Outline extends Model {
const storageData = storageResponse.data; const storageData = storageResponse.data;
if (storageData && storageData.expandIds) { if (storageData && storageData.expandIds) {
this.tree.setExpandIds(storageData.expandIds); this.tree.setExpandIds(storageData.expandIds);
} else {
this.tree.expandAll();
} }
if ((this.headerElement.querySelector("input.b3-text-field.search__label") as HTMLInputElement).value) { if ((this.headerElement.querySelector("input.b3-text-field.search__label") as HTMLInputElement).value) {
this.setFilter(); this.setFilter();