修改设备类型选择

master
夜笙歌 2 years ago
parent cc17237967
commit 4a107aa97e

@ -32,8 +32,8 @@ window.$tab = proxy.$tab
const setMarker = async (data, zoom,isChildren) => {
let markerArr = []
if(isChildren){
let e= await listBasetyre(data)
markerArr = e.rows?.[0]?.baseCarList
let e= await getCarGpsList(data)
markerArr = e.data
} else{
let e = await queryCardata(data)
markerArr = [e.data]

@ -31,8 +31,8 @@ export default defineConfig(({mode, command}) => {
proxy: {
// https://cn.vitejs.dev/config/#server-proxy
'/dev-api': {
// target: 'http://10.11.41.249:8080',
target: 'http://localhost:8080',
target: 'http://10.11.41.249:8080',
// target: 'http://localhost:8080',
changeOrigin: true,
rewrite: (p) => p.replace(/^\/dev-api/, '')
}

Loading…
Cancel
Save