@@ -111,7 +160,10 @@ export default {
-
+
+
+
+
diff --git a/src/pages/login/apis/type.ts b/src/pages/login/apis/type.ts
index bf1e482..1705cb3 100644
--- a/src/pages/login/apis/type.ts
+++ b/src/pages/login/apis/type.ts
@@ -1,6 +1,6 @@
export interface LoginRequestData {
/** admin 或 editor */
- username: ""
+ username: string
/** 密码 */
password: string
}
diff --git a/src/router/index.ts b/src/router/index.ts
index b6dc649..6657341 100644
--- a/src/router/index.ts
+++ b/src/router/index.ts
@@ -128,40 +128,6 @@ export const constantRoutes: RouteRecordRaw[] = [
}
}
]
- },
- {
- path: "composable-demo",
- redirect: "/demo/composable-demo/use-fetch-select",
- name: "ComposableDemo",
- meta: {
- title: "组合式函数"
- },
- children: [
- {
- path: "use-fetch-select",
- component: () => import("@/pages/demo/composable-demo/use-fetch-select.vue"),
- name: "UseFetchSelect",
- meta: {
- title: "useFetchSelect"
- }
- },
- {
- path: "use-fullscreen-loading",
- component: () => import("@/pages/demo/composable-demo/use-fullscreen-loading.vue"),
- name: "UseFullscreenLoading",
- meta: {
- title: "useFullscreenLoading"
- }
- },
- {
- path: "use-watermark",
- component: () => import("@/pages/demo/composable-demo/use-watermark.vue"),
- name: "UseWatermark",
- meta: {
- title: "useWatermark"
- }
- }
- ]
}
]
},
diff --git a/types/auto/components.d.ts b/types/auto/components.d.ts
index 64e027a..ec63198 100644
--- a/types/auto/components.d.ts
+++ b/types/auto/components.d.ts
@@ -8,7 +8,6 @@ export {}
/* prettier-ignore */
declare module 'vue' {
export interface GlobalComponents {
- ElAlert: typeof import('element-plus/es')['ElAlert']
ElAside: typeof import('element-plus/es')['ElAside']
ElAvatar: typeof import('element-plus/es')['ElAvatar']
ElBacktop: typeof import('element-plus/es')['ElBacktop']
@@ -19,7 +18,6 @@ declare module 'vue' {
ElCard: typeof import('element-plus/es')['ElCard']
ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElContainer: typeof import('element-plus/es')['ElContainer']
- ElDatePicker: typeof import('element-plus/es')['ElDatePicker']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElDivider: typeof import('element-plus/es')['ElDivider']
ElDrawer: typeof import('element-plus/es')['ElDrawer']
@@ -31,13 +29,11 @@ declare module 'vue' {
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElHeader: typeof import('element-plus/es')['ElHeader']
ElIcon: typeof import('element-plus/es')['ElIcon']
- ElImage: typeof import('element-plus/es')['ElImage']
ElInput: typeof import('element-plus/es')['ElInput']
ElMain: typeof import('element-plus/es')['ElMain']
ElMenu: typeof import('element-plus/es')['ElMenu']
ElMenuItem: typeof import('element-plus/es')['ElMenuItem']
ElOption: typeof import('element-plus/es')['ElOption']
- ElPagination: typeof import('element-plus/es')['ElPagination']
ElPopover: typeof import('element-plus/es')['ElPopover']
ElScrollbar: typeof import('element-plus/es')['ElScrollbar']
ElSelect: typeof import('element-plus/es')['ElSelect']
@@ -52,7 +48,4 @@ declare module 'vue' {
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
- export interface ComponentCustomProperties {
- vLoading: typeof import('element-plus/es')['ElLoadingDirective']
- }
}