Browse Source

代码优化

xiuli.gao 2 years ago
parent
commit
148ddf0a82
2 changed files with 6 additions and 12 deletions
  1. 6 12
      qwh5/src/router/index.ts
  2. 0 0
      qwh5/src/views/test.vue

+ 6 - 12
qwh5/src/router/index.ts

@@ -1,8 +1,7 @@
1
-import { createRouter,  RouteRecordRaw, createWebHashHistory  } from 'vue-router'
1
+import { createRouter, RouteRecordRaw, createWebHashHistory } from 'vue-router'
2 2
 import HomeView from '../views/HomeView.vue'
3 3
 import radar from '../views/radar.vue'
4 4
 import radarH5 from '../views/radarH5.vue'
5
-// import test from '../views/test.vue'
6 5
 
7 6
 const routes: Array<RouteRecordRaw> = [
8 7
   {
@@ -20,16 +19,11 @@ const routes: Array<RouteRecordRaw> = [
20 19
     name: 'radar',
21 20
     component: radar
22 21
   },
23
-    {
24
-        path: '/radarH5',
25
-        name: 'radarH5',
26
-        component: radarH5
27
-    },
28
-    // {
29
-    //     path: '/test',
30
-    //     name: 'test',
31
-    //     component: test
32
-    // },
22
+  {
23
+    path: '/radarH5',
24
+    name: 'radarH5',
25
+    component: radarH5
26
+  },
33 27
   {
34 28
     path: '/userPortrait',
35 29
     name: 'userPortrait',

+ 0 - 0
qwh5/src/views/test.vue