This commit is contained in:
sjl
2026-01-12 14:02:06 +08:00
3 changed files with 7 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ export const uploadFile = (file: any, path: string) => {
data: form data: form
}).then(res => { }).then(res => {
if (res.code == `A0000`) { if (res.code == `A0000`) {
ElMessage.success('上传成功!') ElMessage.success('文件上传成功!')
return res return res
} }
}) })

View File

@@ -1,5 +1,6 @@
<template> <template>
<div class="default-main" style="position: relative"> <div class="default-main" style="position: relative">
<el-tabs v-model="activeName" type="border-card" class="demo-tabs"> <el-tabs v-model="activeName" type="border-card" class="demo-tabs">
<el-tab-pane label="导航" name="1" :style="height" lazy> <el-tab-pane label="导航" name="1" :style="height" lazy>
<Navigation @changeTab="changeTab" ref="navigationRef" /> <Navigation @changeTab="changeTab" ref="navigationRef" />
@@ -69,7 +70,8 @@ watch(
}) })
} }
) )
const changeTab = (e: string) => { const changeTab = (e: string,) => {
activeName.value = e activeName.value = e
} }
</script> </script>

View File

@@ -37,7 +37,7 @@
<span>无暂降</span> <span>无暂降</span>
</div> </div>
</div> </div>
<!-- v-if="hackReset" --> <!-- v-if="hackReset" -->
<baidu-map <baidu-map
class="bm-view" class="bm-view"
v-if="hackReset" v-if="hackReset"
@@ -271,7 +271,9 @@ const syncCenterAndZoom = (e: any) => {
zoom.value = e.target.getZoom() zoom.value = e.target.getZoom()
} }
const markerClick = (e: any) => { const markerClick = (e: any) => {
console.log("🚀 ~ markerClick ~ e:", e)
infoWindowPoint.value = e infoWindowPoint.value = e
monitoringPoint.setValue('lineId', e.lineId)
infoWindowPoint.value.show = true infoWindowPoint.value.show = true
} }
const changeTab = (e: string) => { const changeTab = (e: string) => {