Explorar el Código

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

kenny67nju hace 1 año
padre
commit
3485ab9a7b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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,