mo 2 years ago
parent
commit
c84880c235
2 changed files with 10 additions and 2 deletions
  1. 5 0
      package-lock.json
  2. 5 2
      src/components/col-header/index.tsx

+ 5 - 0
package-lock.json

@@ -4016,6 +4016,11 @@
         "whatwg-fetch": ">=0.10.0"
       }
     },
+    "js-cookie": {
+      "version": "3.0.1",
+      "resolved": "https://registry.npmjs.org/js-cookie/-/js-cookie-3.0.1.tgz",
+      "integrity": "sha512-+0rgsUXZu4ncpPxRL+lNEptWMOWl9etvPHc/koSRp6MPwpRYAhmk0dUG00J4bxVV3r9uUzfo24wW0knS07SKSw=="
+    },
     "js-stringify": {
       "version": "1.0.2",
       "resolved": "https://registry.npmjs.org/js-stringify/-/js-stringify-1.0.2.tgz",

+ 5 - 2
src/components/col-header/index.tsx

@@ -9,15 +9,18 @@ export default defineComponent({
   data() {
     return {
       navigator: [
-        { name: '首页', href: '#', current: true },
+        { name: '首页', href: '#', current: false },
         { name: '曲谱', href: '#', current: false },
         { name: '视频课', href: '#', current: false },
         { name: '云教练', href: '#', current: false },
         { name: '社区', href: '#', current: false },
-        { name: '下载', href: '#', current: false }
+        { name: '下载', href: '/downLoad', current: false }
       ]
     }
   },
+  mounted(){
+
+  },
   render() {
     return (
       <div class="topNav">