소스 검색

fix:修正请求链接

zhangyi 1 년 전
부모
커밋
475be8fe76
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/App.vue

+ 2 - 2
src/App.vue

@@ -189,7 +189,7 @@ const fetchData = async () => {
     }
 
     // 调用后端API(替换为你的实际API地址)
-    const response = await axios.get("http://localhost/api/industry/values", {
+    const response = await axios.get("https://customs.seec.seecoder.cn/api/industry/values", {
       params: {
         clusterName: selectedA.value || null,
         industrialChain: selectedB.value || null,
@@ -328,7 +328,7 @@ const fetchData = async () => {
     isChartReady.value = true;
 
     try {
-      const response = await axios.get("http://localhost:8080/industry/percent", {
+      const response = await axios.get("https://customs.seec.seecoder.cn/api/industry/percent", {
         params: {
           startYear: year1.value,
           endYear: year2.value,