Fix: debug back btn in add, edit, detail content page
This commit is contained in:
@@ -83,7 +83,7 @@ async function handleActionClick(eventType: string) {
|
|||||||
isConfirmationOpen.value = true
|
isConfirmationOpen.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eventType === 'cancel') {
|
if (eventType === 'back') {
|
||||||
if (props.callbackUrl) {
|
if (props.callbackUrl) {
|
||||||
await navigateTo(props.callbackUrl)
|
await navigateTo(props.callbackUrl)
|
||||||
return
|
return
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ function handleAction(type: string) {
|
|||||||
})
|
})
|
||||||
break
|
break
|
||||||
|
|
||||||
case 'cancel':
|
case 'back':
|
||||||
goBack()
|
goBack()
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ async function handleActionClick(eventType: string) {
|
|||||||
isConfirmationOpen.value = true
|
isConfirmationOpen.value = true
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eventType === 'cancel') {
|
if (eventType === 'back') {
|
||||||
if (props.callbackUrl) {
|
if (props.callbackUrl) {
|
||||||
await navigateTo(props.callbackUrl)
|
await navigateTo(props.callbackUrl)
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user