wangjuncheng
2025-05-15 f16045cde17854377084335c478e3cae0d08d6b8
src/api/trApi.js
@@ -94,7 +94,7 @@
// 通过接口去请求json,将请求的json解析获取泥石流参数
export async function fetchWaterSimulationData() {
  try {
    const response = await fetch("/simu/c2h1dc/layer.json"); // 发起请求
    const response = await fetch("/simu/20250515111549/layer.json"); // 发起请求
    if (!response.ok) {
      throw new Error(`HTTP error! status: ${response.status}`);
    }