123
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user