Set up Not Found views

This commit is contained in:
Bubka
2023-11-01 09:31:00 +01:00
parent 7cf8a70743
commit 27f3145740
4 changed files with 15 additions and 5 deletions

View File

@ -46,6 +46,10 @@ export const useNotifyStore = defineStore({
//
},
notFound(err) {
router.push({ name: '404' })
},
error(err) {
this.parseError(err)
router.push({ name: 'genericError' })