05 2024 档案

摘要://vue3之请求方式get,post案例 //get请求==api下的js文件设置请求路径 export function listCar(query) { return request({ url: '/mqtts/weizi/listlocation', method: 'get', para 阅读全文
posted @ 2024-05-28 10:21 爱豆技术部 阅读(561) 评论(0) 推荐(0) 编辑
摘要:== Vue页面文件== //vue文件引入组件 import { onMounted, reactive, ref,watch } from "vue"; import celiangjuli from "@/components/Map/celiangjuli.vue"; //使用组件 key: 阅读全文
posted @ 2024-05-28 09:59 爱豆技术部 阅读(111) 评论(0) 推荐(0) 编辑
摘要://将json转成数组 const positions = JSON.parse(JSON.stringify(positionsPo.value)); positions.forEach(position => { const marker = new AMap.Marker({position, 阅读全文
posted @ 2024-05-22 10:26 爱豆技术部 阅读(15) 评论(0) 推荐(0) 编辑
摘要://向vue页面传值 //步骤1: // 现在js文件中规定调用的后台接口查询车辆状态详细 export function listCar(query) { return request({ url: '/mqtts/start/liststat', method: 'get', params: q 阅读全文
posted @ 2024-05-21 11:32 爱豆技术部 阅读(23) 评论(0) 推荐(0) 编辑
摘要:// 申明一个前端的变量 let showguiji = ref([]); //应用 <el-button class="dropbtnMean" :icon="ArrowLeft" @click="map">地图模式</el-button> <el-button class="dropbtnMea 阅读全文
posted @ 2024-05-17 16:34 爱豆技术部 阅读(6) 评论(0) 推荐(0) 编辑
摘要:// vue页面的操作 // vue页面中引入组件;组件放入components文件夹中 import pension from "@/components/CarWenShidu/echart.vue"; import pensionshidu from "@/components/CarWenS 阅读全文
posted @ 2024-05-10 13:55 爱豆技术部 阅读(214) 评论(0) 推荐(0) 编辑

TOP
点击右上角即可分享
微信分享提示