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
}).then(res => {
if (res.code == `A0000`) {
ElMessage.success('上传成功!')
ElMessage.success('文件上传成功!')
return res
}
})

View File

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

View File

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