|
@@ -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') },
|
|
|
],
|
|
|
});
|