RedInk
RedInk copied to clipboard
大纲不能保存草稿
大纲不能保存成草稿,返回就都没了 还有能不能先生成一张看看效果,不然一下子全生成出来,然后发现都不满意
Fixed: The outline auto-save now works even when recordId is missing.
Root cause: autoSaveOutline() silently returned when recordId was null, which could happen if the initial history creation in HomeView failed. Now it automatically creates a history record as a fallback before saving.
Also fixed onMounted to properly await the checkAndCreateHistory() call, ensuring the record exists before the watch triggers auto-save.