diff --git a/src/http/composable-demo/use-fetch-select.ts b/src/http/apis/composable-demo/use-fetch-select.ts similarity index 100% rename from src/http/composable-demo/use-fetch-select.ts rename to src/http/apis/composable-demo/use-fetch-select.ts diff --git a/src/http/composable-demo/use-fullscreen-loading.ts b/src/http/apis/composable-demo/use-fullscreen-loading.ts similarity index 100% rename from src/http/composable-demo/use-fullscreen-loading.ts rename to src/http/apis/composable-demo/use-fullscreen-loading.ts diff --git a/src/http/login/index.ts b/src/http/apis/login/index.ts similarity index 92% rename from src/http/login/index.ts rename to src/http/apis/login/index.ts index 86b83a6..f611296 100644 --- a/src/http/login/index.ts +++ b/src/http/apis/login/index.ts @@ -1,4 +1,4 @@ -import type * as Login from "./types/login" +import type * as Login from "./type" import { request } from "@/http/request" /** 获取登录验证码 */ diff --git a/src/http/login/types/login.ts b/src/http/apis/login/type.ts similarity index 100% rename from src/http/login/types/login.ts rename to src/http/apis/login/type.ts diff --git a/src/http/table/index.ts b/src/http/apis/table/index.ts similarity index 93% rename from src/http/table/index.ts rename to src/http/apis/table/index.ts index b0d2ae2..ed7ffd3 100644 --- a/src/http/table/index.ts +++ b/src/http/apis/table/index.ts @@ -1,4 +1,4 @@ -import type * as Table from "./types/table" +import type * as Table from "./type" import { request } from "@/http/request" /** 增 */ diff --git a/src/http/table/types/table.ts b/src/http/apis/table/type.ts similarity index 100% rename from src/http/table/types/table.ts rename to src/http/apis/table/type.ts diff --git a/src/pages/composable-demo/use-fetch-select.vue b/src/pages/composable-demo/use-fetch-select.vue index f8ea626..8666940 100644 --- a/src/pages/composable-demo/use-fetch-select.vue +++ b/src/pages/composable-demo/use-fetch-select.vue @@ -1,6 +1,6 @@