瀏覽代碼

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,