添加环境配置文件,更新 Vite 配置以支持本地代理,优化 AppCard 组件的懒加载逻辑

This commit is contained in:
Elysia
2026-01-17 21:00:21 +08:00
parent a5b3d1278c
commit 0d16434374
9 changed files with 96 additions and 99 deletions

View File

@@ -264,9 +264,6 @@ const loadCategories = async () => {
try {
const response = await axiosInstance.get(`/${APM_STORE_ARCHITECTURE}/categories.json`);
categories.value = response.data;
// const response = await fetch('/amd64-apm/categories.json');
// const data = await response.data
// categories.value = data;
} catch (error) {
console.error('读取 categories.json 失败', error);
}