Просмотр исходного кода

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

kenny67nju 1 год назад
Родитель
Сommit
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,