mirror of
https://github.com/DayuanJiang/next-ai-draw-io.git
synced 2026-09-01 17:10:24 +08:00
fix: disable beforeunload warning from draw.io iframe
Set modified=false in urlParameters to prevent draw.io from triggering the browser's 'Changes you made may not be saved' dialog on page refresh.
This commit is contained in:
@@ -179,6 +179,7 @@ export default function Home() {
|
||||
saveAndExit: false,
|
||||
noSaveBtn: true,
|
||||
noExitBtn: true,
|
||||
modified: false,
|
||||
dark: darkMode,
|
||||
lang: currentLang,
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user