This commit is contained in:
commit
240e0a2888
File diff suppressed because it is too large
Load Diff
|
@ -31,9 +31,9 @@ axios.interceptors.response.use(
|
|||
// console.log(error.response,"响应拦截器失败")
|
||||
ElMessage.error("请重新登录!");
|
||||
// window.location.href = '/#/login?returnURL=' + window.location.href
|
||||
// window.location.href =
|
||||
// "http://220.191.238.50:996/api/login?returnURL=" +
|
||||
// window.location.href;
|
||||
window.location.href =
|
||||
"http://220.191.238.50:996/api/login?returnURL=" +
|
||||
window.location.href;
|
||||
} else if (error.response.status == 404) {
|
||||
ElMessage.error("Status:404,正在请求不存在的服务器记录!");
|
||||
} else if (error.response.status == 500) {
|
||||
|
|
|
@ -1009,7 +1009,7 @@ const BMAP = () => {
|
|||
map.addEventListener("click", markera);
|
||||
};
|
||||
const markera = (e) => {
|
||||
console.log(`${e.latlng.lng},${e.latlng.lat}`);
|
||||
console.log(`"center":[${e.latlng.lng},${e.latlng.lat}],`);
|
||||
// 检查并移除当前标记
|
||||
if (currentMarker !== null) {
|
||||
map.removeOverlay(currentMarker);
|
||||
|
@ -2030,9 +2030,8 @@ const addPolygonCountyCs = () => {
|
|||
});
|
||||
map.addOverlay(cs_qk_arr.value[index]);
|
||||
cs_qk_arr.value[index].addEventListener("click", () => {
|
||||
// alert(item.name);
|
||||
console.log(item.name);
|
||||
|
||||
console.log('名字',item.name);
|
||||
|
||||
// cfCs.value = item.name;
|
||||
// title_cs.value = item.name;
|
||||
// sfdd.value = true;
|
||||
|
|
Loading…
Reference in New Issue