This commit is contained in:
汪汇 2024-07-26 17:01:10 +08:00
parent f715f6b749
commit 227b2f1531
1 changed files with 19 additions and 0 deletions

View File

@ -2255,6 +2255,9 @@ const getDatas = async (e, i) => {
cs_number_name_arr.value.forEach((item, index) => {
map.removeOverlay(cs_number_name_arr.value[index]);
});
cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]);
});
if (title_choose.value == "") {
} else {
@ -2280,7 +2283,9 @@ const getDatas = async (e, i) => {
console.log("hhhhh", xkzCenter);
if (choose.value.person == "") {
addCs();
console.log(1, '222222222');
} else {
console.log(2, '222222222');
addCs2();
}
}
@ -2445,6 +2450,16 @@ const getDataBqs2 = async (jd, cs, bq) => {
});
console.log(mapTownCount);
changeRs2(bq);
cs_name_arr.value.forEach((item, index) => {
map.removeOverlay(cs_name_arr.value[index]);
});
cs_number_name_arr.value.forEach((item, index) => {
map.removeOverlay(cs_number_name_arr.value[index]);
});
cs_dd_arr.value.forEach((item, index) => {
map.removeOverlay(cs_dd_arr.value[index]);
});
if (title_choose.value == "") {
} else {
if (sfdd.value) {
@ -2468,8 +2483,12 @@ const getDataBqs2 = async (jd, cs, bq) => {
} else {
console.log("hhhhh", xkzCenter);
if (choose.value.person == "") {
console.log(2, '222222222');
addCs();
} else {
console.log(1, '222222222');
addCs2();
}
}