mirror of
https://gitee.com/spark-store-project/spark-store
synced 2026-04-26 09:20:18 +08:00
添加环境配置文件,更新 Vite 配置以支持本地代理,优化 AppCard 组件的懒加载逻辑
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user