@@ -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);