This commit is contained in:
parent
a932d5f902
commit
a61305a188
|
@ -204,8 +204,8 @@ const csh = () => {
|
|||
cs_dd_arr.value.forEach((item, index) => {
|
||||
map.removeOverlay(cs_dd_arr.value[index]);
|
||||
});
|
||||
jdm_arr.value = [];
|
||||
jdm_number_arr.value = [];
|
||||
// jdm_arr.value = [];
|
||||
// jdm_number_arr.value = [];
|
||||
fwq_list_arr.value = [];
|
||||
cs_qk_arr.value = [];
|
||||
cs_name_arr.value = [];
|
||||
|
@ -531,8 +531,8 @@ const addPolygonCounty = () => {
|
|||
cs_dd_arr.value.forEach((item, index) => {
|
||||
map.removeOverlay(cs_dd_arr.value[index]);
|
||||
});
|
||||
jdm_arr.value = [];
|
||||
jdm_number_arr.value = [];
|
||||
// jdm_arr.value = [];
|
||||
// jdm_number_arr.value = [];
|
||||
fwq_list_arr.value = [];
|
||||
cs_qk_arr.value = [];
|
||||
cs_name_arr.value = [];
|
||||
|
@ -1289,12 +1289,15 @@ const changeRs = (id) => {
|
|||
// cs_name_arr.value.length = 0;
|
||||
// addCs2();
|
||||
// }
|
||||
if (jdm_number_arr.value?.length) {
|
||||
jdm_number_arr.value.forEach((item, index) => {
|
||||
map.removeOverlay(jdm_number_arr.value[index]);
|
||||
});
|
||||
jdm_number_arr.value.length = 0;
|
||||
}
|
||||
// if (jdm_number_arr.value?.length) {
|
||||
// jdm_number_arr.value.forEach((item, index) => {
|
||||
// map.removeOverlay(jdm_number_arr.value[index]);
|
||||
// });
|
||||
// jdm_number_arr.value.length = 0;
|
||||
// }
|
||||
jdm_arr.value.forEach((item, index) => {
|
||||
map.removeOverlay(jdm_arr.value[index]);
|
||||
});
|
||||
addJd2();
|
||||
// removeAllPolygon("person");
|
||||
// xuanran();
|
||||
|
|
Loading…
Reference in New Issue