Przeglądaj źródła

本地调样式

lchao 1 rok temu
rodzic
commit
5c85c280ce
2 zmienionych plików z 10 dodań i 10 usunięć
  1. 9 9
      songhua-ui/src/router/index.js
  2. 1 1
      songhua-ui/src/views/index.vue

+ 9 - 9
songhua-ui/src/router/index.js

@@ -115,15 +115,15 @@ export const constantRoutes = [
   //     icon: ['dashboard'] // 添加图标
   //   }
   // },
-  // {
-  //   path: '/songhuaIndex1',
-  //   name: 'songhuaIndex1',
-  //   component: () => import('@/views/index1/index'),
-  //   meta: {
-  //     title: '松花湖景区通',
-  //     icon: ['eye-open'] // 添加图标
-  //   }
-  // },
+  {
+    path: '/songhuaIndex1',
+    name: 'songhuaIndex1',
+    component: () => import('@/views/index1/index'),
+    meta: {
+      title: '松花湖景区通',
+      icon: ['eye-open'] // 添加图标
+    }
+  },
 ]
 
 // 动态路由,基于用户权限动态去加载

+ 1 - 1
songhua-ui/src/views/index.vue

@@ -28,7 +28,7 @@ export default {
   },
   methods: {
     shipHandler() {
-      window.open("http://jqt.songhuahujqt.com/songhuaIndex1");
+      window.open("http://localhost/songhuaIndex1");
     },
     ticketHandler(){
       window.open("http://dsj.1230t.com/");