Back button does not close codebar scanner
-
Software version
Quasar: 0.17.11
Node: v8.11.3
NPM: 6.4.1
Android: 8ROUTER
const routes = [
{ path: ‘/login’, component: () => import(‘pages/Login.vue’) }
{
path: ‘/’,
component: () => import(‘layouts/MyLayout.vue’),
children: [
{ path: ‘’, component: () => import(‘pages/BuscaProduto.vue’) }
]
}
]
// Always leave this as last one
if (process.env.MODE !== ‘ssr’) {
routes.push({
path: ‘*’,
component: () => import(‘pages/Error404.vue’)
})
}export default routes
My home screen is /login which is directed to “/”(this.$router.push(’/’)) as soon as the user logs in.
Problem:
I have a codebar scanner on the BuscaProduto page, which if triggered the back button redirects to /login, how could I fix this?
You should not only close the codebar scanner?