Skip to content

in windows browser(chrome,ie,edge,firefox), refresh page, then router leave and route to / #2482

@realfly08

Description

@realfly08

I have build a web app by vuejs with vur-router.

my router/index.js is below:
image

after build the app, it can be run under nginx server well.
But when I open a page is not '/home' (such as '/myLadings') in any browser in windows platform, then refresh this page , the router will be route to the route path '/', then to '/home'.

But this will not happen in mac or other linux platform.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions