syyang 2 年 前
コミット
87530c42f5
2 ファイル変更18 行追加3 行削除
  1. 3 3
      src/router/index.js
  2. 15 0
      src/views/animal.vue

+ 3 - 3
src/router/index.js

@@ -77,9 +77,9 @@ export const constantRoutes = [
       title: '灾后评估'
     }
   },{
-    path: '/',
-    name: '',
-    component: () => import('@/views/monitor'),
+    path: '/animal',
+    name: 'animal',
+    component: () => import('@/views/animal'),
     meta: {
       title: '动物保护'
     }

+ 15 - 0
src/views/animal.vue

@@ -0,0 +1,15 @@
+<template>
+  <div>
+    1111111111
+  </div>
+</template>
+
+<script>
+    export default {
+        name: "animal"
+    }
+</script>
+
+<style scoped>
+
+</style>