Procházet zdrojové kódy

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

kenny67nju před 1 rokem
rodič
revize
3485ab9a7b
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

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