页面优化

master
Yueng 2024-10-10 19:39:16 +08:00
parent a7bc7944d3
commit 53ef12c22b
2 changed files with 4 additions and 8 deletions

View File

@ -102,8 +102,8 @@ export function carDel(data) {
// 解绑车辆
export function carButton() {
return request({
url: '/electronic/carFence/aaa',
method: 'post',
url: '/electronic/RunText/text',
method: 'get',
})
}

View File

@ -2,7 +2,6 @@
<div class="app-container home">
<h1 style="text-align: center ;color: #0072c6 ; font-size: 50px;font-weight: bold"> 智汇车联 </h1>
<h2 style="text-align: right ;color: #1f2d3d; font-size: 20px">开发小组:八组</h2>
<button @click="carButton">111</button>
<div>
<el-chart :options="chartOptions"></el-chart>
@ -53,16 +52,13 @@ export default {
};
},
mounted() {
//
this.drawLine();
},
methods: {
carButton(){
carButton(res=>{
alert(res)
})
},
navigateToPage(url) {
this.$router.push(url);
},