diff --git a/common/api/common.js b/api/common.js similarity index 100% rename from common/api/common.js rename to api/common.js diff --git a/common/api/customer.js b/api/customer.js similarity index 100% rename from common/api/customer.js rename to api/customer.js diff --git a/common/api/dashboard.js b/api/dashboard.js similarity index 100% rename from common/api/dashboard.js rename to api/dashboard.js diff --git a/common/api.js b/api/index.js similarity index 72% rename from common/api.js rename to api/index.js index 6bc7cc7..d466a93 100644 --- a/common/api.js +++ b/api/index.js @@ -11,16 +11,16 @@ */ // 导入用户相关 API -export * from './api/user'; +export * from './user'; // 导入仪表板相关 API -export * from './api/dashboard'; +export * from './dashboard'; // 导入任务相关 API -export * from './api/task'; +export * from './task'; // 导入客户相关 API -export * from './api/customer'; +export * from './customer'; // 导入通用 API -export * from './api/common'; +export * from './common'; diff --git a/common/api/task.js b/api/task.js similarity index 100% rename from common/api/task.js rename to api/task.js diff --git a/common/api/user.js b/api/user.js similarity index 100% rename from common/api/user.js rename to api/user.js diff --git a/components/ContentDashboard.vue b/components/ContentDashboard.vue index daf0200..3593e25 100644 --- a/components/ContentDashboard.vue +++ b/components/ContentDashboard.vue @@ -152,7 +152,7 @@