Vue uses history mode, refresh is always on the home page

vue uses history mode, refresh is always on the home page

vue-router uses history mode. The server is configured according to the official website using nginx. Refresh will only return to the entrance

.

refresh is still on the original page

Aug.05,2021

if there is no problem under the local node, it is the configuration of nginx.
my configuration:

// vue.js - router
const router = new Router({
  routes: Routers,
  mode: 'history',
  base: '/admin/'
})
-sharp nginx 
location ^~ /admin/ {
root   /data/nginx/;
if (!-e $request_filename) {
    rewrite ^/(.*) /index.html last;
    break;
}
index  index.html index.htm;
}

$route.query. Rely on the parameters on the path.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6dd2-47bd4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6dd2-47bd4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?