From 853947650fe2d595a578dcf94f8b805b8cebfa2c Mon Sep 17 00:00:00 2001 From: yaoyuhao Date: Tue, 20 Aug 2024 17:12:57 +0800 Subject: [PATCH] 111 --- src/view/sy_map.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/view/sy_map.vue b/src/view/sy_map.vue index e973921..104267c 100644 --- a/src/view/sy_map.vue +++ b/src/view/sy_map.vue @@ -882,7 +882,10 @@ const saveDK = async () => { ) .then((res) => { if (res.code == 200) { - ElMessage.success("编辑成功"); + ElMessage.success({ + message: "保存成功", + offset: 100, // 距离窗口顶部的偏移量 + }); } }); await getCssj(); @@ -2981,6 +2984,7 @@ const DGcreateCs = (polygon, indexx) => { cs_dd_arr.value[indexx].addEventListener("click", () => { if (showEdit.value) { } else { + console.log(polygon.id); changeCsqkId.value = polygon.id; showEdit.value = !showEdit.value; let a = document.documentElement.getElementsByClassName("left")[0]; @@ -3158,7 +3162,7 @@ onMounted(async () => { flex-direction: column; z-index: 12; overflow: hidden; - transition: opacity 2s; + transition: opacity 1s; //人口数 .lyx { .content_item2 { @@ -3406,7 +3410,7 @@ onMounted(async () => { flex-direction: column; z-index: 12; overflow: hidden; - transition: opacity 2s; + transition: opacity 1s; .jbggfwq { .jbggfwq_content { height: 520px;