@@ -3,9 +3,8 @@ server {
server_name _;
location / {
- root /usr/share/nginx/html;
index index.html index.htm;
- try_files $uri $uri/ router;
+ try_files $uri $uri/ router;
}
@@ -163,12 +163,21 @@ const otherRoutes = routes.map((item) => {
};
});
+// tparking qa 测试环境
+const otherTparkingRoutes = routes.map((item) => {
+ return {
+ ...item,
+ path: `/tparking/:groupId/:mallId${item.path}`,
+ };
+});
+
const router = new VueRouter({
mode: 'history',
routes: [
...routes,
...wxRoutes,
...otherRoutes,
+ ...otherTparkingRoutes,
{ path: '*', component: import('@/pages/NotFoundComponent/index.vue') },
],