From 2f27556b611b39ef7868c147d2315ee76becdc5d Mon Sep 17 00:00:00 2001 From: RogerWork Date: Wed, 13 Dec 2023 21:31:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=B4=E6=97=B6=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 1 + src/App.vue | 7 ++- src/layout/index.vue | 3 +- src/request/config.js | 10 ++++ src/request/index.js | 111 +++++++++++++++++++++++++++++++++++++ src/views/update/index.vue | 7 ++- yarn.lock | 57 +++++++++++++++++++ 7 files changed, 191 insertions(+), 5 deletions(-) create mode 100644 src/request/config.js create mode 100644 src/request/index.js diff --git a/package.json b/package.json index dfe50f1..36451f6 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,7 @@ "dependencies": { "@element-plus/icons-vue": "^2.3.1", "@types/node": "^20.10.4", + "axios": "^1.6.2", "element-plus": "^2.4.3", "normalize.css": "^8.0.1", "vue": "^3.3.8", diff --git a/src/App.vue b/src/App.vue index 9f1beb3..2310cd8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -23,5 +23,10 @@ export default defineComponent({ diff --git a/src/layout/index.vue b/src/layout/index.vue index 7fd9153..2f3f55b 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -24,10 +24,9 @@ import PageAside from "@/layout/components/PageAside.vue";