From a48d38d861a9799fba1bdcd31022176fc0f4ea09 Mon Sep 17 00:00:00 2001 From: Pan Date: Fri, 1 Jun 2018 15:36:31 +0800 Subject: [PATCH] refine --- package.json | 2 +- src/utils/request.js | 2 +- src/views/404.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 13df739..a14328b 100644 --- a/package.json +++ b/package.json @@ -60,7 +60,7 @@ "svg-sprite-loader": "3.5.2", "uglifyjs-webpack-plugin": "1.1.3", "url-loader": "0.6.2", - "vue-loader": "13.5.0", + "vue-loader": "13.7.2", "vue-style-loader": "3.0.3", "vue-template-compiler": "2.5.10", "webpack": "3.10.0", diff --git a/src/utils/request.js b/src/utils/request.js index 7b9c801..10f12db 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -6,7 +6,7 @@ import { getToken } from '@/utils/auth' // 创建axios实例 const service = axios.create({ baseURL: process.env.BASE_API, // api的base_url - timeout: 15000 // 请求超时时间 + timeout: 5000 // 请求超时时间 }) // request拦截器 diff --git a/src/views/404.vue b/src/views/404.vue index ca160fa..468b251 100644 --- a/src/views/404.vue +++ b/src/views/404.vue @@ -12,7 +12,7 @@
版权所有华尔街见闻
{{ message }}
请检查您输入的网址是否正确,请点击以下按钮返回主页或者发送错误报告
- 返回首页 + 返回首页