123
This commit is contained in:
@ -112,24 +112,13 @@ const handleUpdate = () => {
|
||||
};
|
||||
|
||||
onMounted(async () => {
|
||||
emitter.emit("addPointArea", {
|
||||
coords: [{ jd: "104.454064", wd: "31.162123" }],
|
||||
icon: require("@/assets/point/kfd.png"),
|
||||
flag: "st"
|
||||
});
|
||||
// 设置当前日期
|
||||
const today = new Date();
|
||||
data.currentDate = today.toISOString().split("T")[0]; // 格式化为 YYYY-MM-DD
|
||||
|
||||
await getData();
|
||||
|
||||
emitter.on("showFzycInfo", (data) => {
|
||||
taskDetailsRef.value?.open(data?.info);
|
||||
});
|
||||
emitter.emit("setMapCenter", {
|
||||
location: [{ jd: "104.454064", wd: "31.162123" }],
|
||||
zoomLevel: 14
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user