diff --git a/src/api/request.js b/src/api/request.js index e8dd0ed..fefebb5 100644 --- a/src/api/request.js +++ b/src/api/request.js @@ -1,8 +1,8 @@ import axios from "axios"; import router from '@/router' const requests = axios.create({ - baseURL:"/lh-api", - timeout:20000, + baseURL: "/lh-api", + timeout: 45000, }); diff --git a/src/pages/MywrList/index.vue b/src/pages/MywrList/index.vue index e43ec8f..cfe9d5d 100644 --- a/src/pages/MywrList/index.vue +++ b/src/pages/MywrList/index.vue @@ -175,7 +175,7 @@
- +
@@ -700,12 +700,7 @@ export default { stationInfo().then(res => { this.stationInfoList = res.result if (this.stationInfoList) { - res.result.map(item => { - this.stationList.push({ - stationCode: item.stationCode, - stationName: item.stationName, - }) - }) + this.stationList = res.result } }) }, @@ -2410,7 +2405,7 @@ a:hover { right: 450px; cursor:pointer; z-index: 2000; - width: 180px + width: 170px }