Skip to content

Error running refresh in History mode after upgrading to vue-cli4.5.13 #6504

Open
@qwj12345

Description

@qwj12345

Version

4.5.13

Environment info

The company environment could not copy the data out. Several key environments:node 8.9.1; npm5.5.1; vue-loader13.3.1; vue-cli4.5.13;vuerouter:3.5.1;  vue:2.6.12.

Steps to reproduce

The original project was built using vue-cli2, and the router is also in history mode. There will be no problem when running refresh on local npm serve, but after using vue-cli4.5.13 and using history mode refresh, The local npm serve page displays {" code ": 10006,"message":" user not logged in "}, which should be the message returned by the interface.

What is expected?

The page displays normally after refresh.

What is actually happening?

When refreshed, the JSON data is displayed.


May I ask whether this needs interface background processing or front-end where to configure something to go.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions