No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Back button does not close codebar scanner

    Help
    1
    1
    218
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      marconi last edited by

      Software version
      Quasar: 0.17.11
      Node: v8.11.3
      NPM: 6.4.1
      Android: 8

      ROUTER
      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?

      1 Reply Last reply Reply Quote 0
      • First post
        Last post