Explorar o código

更新 'templates/index.html'

于小葵 hai 11 meses
pai
achega
ebbc97113f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      templates/index.html

+ 1 - 1
templates/index.html

@@ -38,7 +38,7 @@
             // 使用Axios发起请求
             const getData = async () =>{ 
                 try {
-                    const response = await axios.get('/static/data.json');
+                    const response = await axios.get('./static/data.json');
                     data.value = response.data;
                 } catch (error) {
                     console.error(error);