修改显示

main
suixy 3 months ago
parent d1babb697d
commit c131b8c874

@ -5,6 +5,7 @@
<TOP/>
<LEFT/>
<RIGHT/>
<el-button style="position: fixed;top: 10px;right: 10px" type="primary" @click="toAdmin"></el-button>
</div>
<!-- </div>-->
@ -21,6 +22,7 @@ import {
addShildData,
delShildData, StartWork, StopWork, RestartWork, ShutDownWork, getAllAirPort, getArea, GetAllCData
} from "@/api/api";
import {useRouter} from "vue-router";
const scaleRatio = ref(window.innerWidth / 1080)
const onSubmit = (e) => {
@ -553,6 +555,10 @@ const RIGHT = defineComponent({
}
})
const router = useRouter();
const toAdmin = () => {
router.push('/serve')
}
// setTimeout(() => {
// setZoom({lon: 120.0005, lat: 30.005}, 2)
// }, 30000)

Loading…
Cancel
Save