wangjuncheng
8 天以前 f60f7c614e60221ed7c0ddb93c52608e86f4b57e
src/api/index.js
@@ -42,6 +42,18 @@
   return await response.json()
}
// export async function getDistrictCount() {
//    const response = await fetch("/json/response.json", {
//       mode: "cors",
//       cache: "no-cache",
//       headers: {
//          "Content-Type": "application/json",
//       },
//    })
//    return await response.json()
// }
export async function getDistrictCountByCity() {
   const response = await fetch("/json/CountByCounty.json", {
      mode: "cors",