pref: optimize the diff to make it more accurately reflect changes (#11)
* pref: optimize the diff to make it more accurately reflect changes * pref: optimize the diff page selection
This commit is contained in:
@@ -25,7 +25,7 @@ export function useProject() {
|
||||
}
|
||||
|
||||
// 保存之前,先保存所有页面
|
||||
await webBuilderStore.saveAllPages();
|
||||
await webBuilderStore.saveAllPages('auto-save');
|
||||
const projectPages = Object.values(webBuilderStore.pagesStore.pages.get()).filter((page) => page !== undefined);
|
||||
const projectSections = Object.values(webBuilderStore.pagesStore.sections.get())
|
||||
.filter((section) => section !== undefined)
|
||||
|
||||
Reference in New Issue
Block a user