This commit is contained in:
姚宇浩 2024-07-25 13:30:44 +08:00
parent 67132c6da2
commit c533cc4568
1 changed files with 8 additions and 2 deletions

View File

@ -491,7 +491,13 @@ const addPolygonCounty = () => {
let jdCenter = []; let jdCenter = [];
if (item.name == "溪口镇") { if (item.name == "溪口镇") {
BMAP(); BMAP();
console.log('cjhsbchjs vbchsj',choose.value.person);
if(choose.value.person==0){
getDatas("溪口镇", '');
}else{
getDatas("溪口镇", choose.value.person); getDatas("溪口镇", choose.value.person);
}
if (!title_choose.value.includes("溪口镇")) { if (!title_choose.value.includes("溪口镇")) {
title_choose.value = title_choose.value + `>${item.name}`; title_choose.value = title_choose.value + `>${item.name}`;
} }
@ -905,7 +911,7 @@ const addCs = () => {
//(,) //(,)
const addCs2 = () => { const addCs2 = () => {
xkzCenter.map((item, index) => { xkzCenter.map((item, index) => {
console.log("addCs2", item); // console.log("addCs2", item);
createCs2(item, index); createCs2(item, index);
}); });
}; };