瀏覽代碼

modify the url(/api) and set the port number 500

kenny67nju 1 年之前
父節點
當前提交
3485ab9a7b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -189,7 +189,7 @@ const fetchData = async () => {
     }
 
     // 调用后端API(替换为你的实际API地址)
-    const response = await axios.get("http://localhost:8080/industry/values", {
+    const response = await axios.get("http://localhost:5000/api/industry/values", {
       params: {
         clusterName: selectedA.value || null,
         industrialChain: selectedB.value || null,