فهرست منبع

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,