the vue project determines the route directly to the mobile terminal if the mobile terminal is redirected to the mobile terminal in router.beforeeach. Else is pc, so load the root route.
the problem now is that when the mobile terminal accesses, it will flash the home page of the pc first and then jump to the route of the mobile terminal. How to solve this. The desired result of
is that pc loads the pc home page directly. Move to load the mobile home page directly. The pc homepage will not flash first on the jump transfer mobile