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.
Version
4.5.13
Environment info
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.