Browse Source

更新 'templates/index.html'

于小葵 11 months ago
parent
commit
ebbc97113f
1 changed files with 1 additions and 1 deletions
  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);