fix(label): fix save bug
This commit is contained in:
@@ -2434,10 +2434,9 @@ const LabelPage = ({
|
||||
|
||||
const handleBeforeUnload = (e: any) => {
|
||||
e.preventDefault()
|
||||
e.returnValue = ""
|
||||
// 备份
|
||||
topRef.current.handleBackup("auto_backup")
|
||||
// 清空操作栏状态
|
||||
useObjectStore.getState().resetPathAndOperationStatus()
|
||||
void topRef.current?.handleBackup?.("auto_backup")
|
||||
}
|
||||
|
||||
// 更新Splitter状态
|
||||
|
||||
Reference in New Issue
Block a user