This commit is contained in:
李志鹏
2025-10-20 15:45:42 +08:00
parent 8994b4a1d2
commit 408b159860
10 changed files with 324 additions and 166 deletions

View File

@@ -18,8 +18,10 @@
}
const onHome = (nav) => {
showConfirmDialog({
title: 'Tip',
message: 'The current page has not been saved. Do you want to return to the home page?'
title: 'Return to Home Page?',
message: 'You have unsaved changes. Your progress will be lost.',
confirmButtonText: 'Yes',
cancelButtonText: 'Cancel',
})
.then(() => {
nav.path && router.push(nav.path)