From dea2124f054bb814d8471cc64d441bae0a6234d3 Mon Sep 17 00:00:00 2001 From: dong_bo0602 <358256383@qq.com> Date: Wed, 24 Mar 2021 11:19:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=BF=AE=E6=94=B91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ++-- package-lock.json | 11 +++++++++-- package.json | 1 + src/assets/components/Footer.vue | 6 +++--- src/assets/components/Header.vue | 6 ++++-- src/pages/CompanyQualify/CompanyQualify.vue | 13 +++++++------ src/pages/Index/Index.vue | 1 + src/pages/NewsDetail/NewsDetail.vue | 16 ++++++++++------ 8 files changed, 37 insertions(+), 21 deletions(-) diff --git a/config/index.js b/config/index.js index 02daef9..0deddbd 100644 --- a/config/index.js +++ b/config/index.js @@ -13,14 +13,14 @@ module.exports = { proxyTable: {}, // Various Dev Server settings - host: '192.168.0.12', // can be overwritten by process.env.HOST + host: '192.168.0.106', // can be overwritten by process.env.HOST port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined autoOpenBrowser: false, errorOverlay: true, notifyOnErrors: true, poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions- - + /** * Source Maps */ diff --git a/package-lock.json b/package-lock.json index f18280b..e86277c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -282,6 +282,14 @@ "postcss-value-parser": "^3.2.3" } }, + "axios": { + "version": "0.21.1", + "resolved": "https://registry.npm.taobao.org/axios/download/axios-0.21.1.tgz", + "integrity": "sha1-IlY0gZYvTWvemnbVFu8OXTwJsrg=", + "requires": { + "follow-redirects": "^1.10.0" + } + }, "babel-code-frame": { "version": "6.26.0", "resolved": "https://registry.npm.taobao.org/babel-code-frame/download/babel-code-frame-6.26.0.tgz", @@ -4092,8 +4100,7 @@ "follow-redirects": { "version": "1.13.3", "resolved": "https://registry.npm.taobao.org/follow-redirects/download/follow-redirects-1.13.3.tgz", - "integrity": "sha1-5VmK1QF0wbxOhyMB6CrCzZf5Amc=", - "dev": true + "integrity": "sha1-5VmK1QF0wbxOhyMB6CrCzZf5Amc=" }, "for-in": { "version": "1.0.2", diff --git a/package.json b/package.json index 079f053..fb8ab1d 100644 --- a/package.json +++ b/package.json @@ -10,6 +10,7 @@ "build": "node build/build.js" }, "dependencies": { + "axios": "^0.21.1", "stylus": "^0.54.8", "stylus-loader": "^3.0.2", "vue": "^2.5.2", diff --git a/src/assets/components/Footer.vue b/src/assets/components/Footer.vue index e622166..50ff038 100644 --- a/src/assets/components/Footer.vue +++ b/src/assets/components/Footer.vue @@ -3,11 +3,11 @@