小bug
This commit is contained in:
parent
e0cc367300
commit
0e2b5316c6
|
|
@ -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,
|
||||
});
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -175,7 +175,7 @@
|
|||
</div>
|
||||
<div class="switchStation">
|
||||
<el-select v-model="stationCode" placeholder="切换站点" @change="switchStation" >
|
||||
<el-option v-for="item in stationList" :key="item.stationCode" :label="item.stationName" :value="item.stationCode"></el-option>
|
||||
<el-option v-for="item in stationList" :key="item.stationCode" :label="item.stationShortName||item.stationName" :value="item.stationCode"></el-option>
|
||||
</el-select>
|
||||
</div>
|
||||
<div class="leftBox right baseBoxHjleft" style="width:22.5%">
|
||||
|
|
@ -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
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue