diff --git a/src/router/index.js b/src/router/index.js index 77ed67d..8a3e049 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -39,8 +39,8 @@ const router = createRouter({ component: () => import("@/views/plink/index.vue"), }, { - path: "/cookbook", - component: () => import("@/views/cookbook/index.vue"), + path: "/appshare", + component: () => import("@/views/appshare/index.vue"), }, ], }, diff --git a/src/util/menu.js b/src/util/menu.js index 87edf38..e47589e 100644 --- a/src/util/menu.js +++ b/src/util/menu.js @@ -26,13 +26,13 @@ const menuInfo = { }, { key: "5", - label: () => h(RouterLink, { to: "/cookbook", class: "menu-item font-[500] text-lg" }, { default: () => "菜谱" }), + label: () => h(RouterLink, { to: "/appshare", class: "menu-item font-[500] text-lg" }, { default: () => "软件分享" }), }, { key: "6", label: () => h(RouterLink, { to: "/plink", class: "menu-item font-[500] text-lg" }, { default: () => "友链" }), }, ], - menuList: ["/home", "/gallery", "/article", "/widget","/cookbook","/plink"], + menuList: ["/home", "/gallery", "/article", "/widget","/appshare","/plink"], }; export default menuInfo; diff --git a/src/views/appshare/index.vue b/src/views/appshare/index.vue new file mode 100644 index 0000000..5573f3e --- /dev/null +++ b/src/views/appshare/index.vue @@ -0,0 +1,21 @@ + + + + + \ No newline at end of file diff --git a/src/views/console/gallery/index.vue b/src/views/console/gallery/index.vue index f584c37..035050f 100644 --- a/src/views/console/gallery/index.vue +++ b/src/views/console/gallery/index.vue @@ -19,7 +19,7 @@
- +
diff --git a/src/views/mobile/gallery/index.vue b/src/views/mobile/gallery/index.vue index e6ec2c1..e84a39b 100644 --- a/src/views/mobile/gallery/index.vue +++ b/src/views/mobile/gallery/index.vue @@ -34,7 +34,8 @@ + :data="{ strategy_id: 2 }" + :headers="{ Authorization: 'Bearer ' + '2|RKsuwoT7mbtuTW7Eguc566uwt7Wg4qgpGA6XTpM1' }" :show-file-list="false" :on-finish="fileFinish"> 上传图片