diff --git a/components.d.ts b/components.d.ts
index f0b59a7..569a706 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -10,20 +10,15 @@ declare module 'vue' {
ElButton: typeof import('element-plus/es')['ElButton']
ElCarousel: typeof import('element-plus/es')['ElCarousel']
ElCarouselItem: typeof import('element-plus/es')['ElCarouselItem']
- ElConfigProvider: typeof import('element-plus/es')['ElConfigProvider']
ElDialog: typeof import('element-plus/es')['ElDialog']
ElForm: typeof import('element-plus/es')['ElForm']
ElFormItem: typeof import('element-plus/es')['ElFormItem']
ElInput: typeof import('element-plus/es')['ElInput']
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']
- ElRadio: typeof import('element-plus/es')['ElRadio']
- ElSelect: typeof import('element-plus/es')['ElSelect']
ElTable: typeof import('element-plus/es')['ElTable']
ElTableColumn: typeof import('element-plus/es')['ElTableColumn']
- ElTag: typeof import('element-plus/es')['ElTag']
RouterLink: typeof import('vue-router')['RouterLink']
RouterView: typeof import('vue-router')['RouterView']
}
diff --git a/env/.env.dev b/env/.env.dev
index 2781efa..eacbbfd 100644
--- a/env/.env.dev
+++ b/env/.env.dev
@@ -3,4 +3,5 @@ VITE_ENV = 'development'
VITE_BUILD_MODE = 'dev'
# 开发环境接口地址
-VITE_API_URL = '/proxyApi'
\ No newline at end of file
+VITE_API_URL = '/proxyApi'
+
diff --git a/src/http/api/login/index.ts b/src/http/api/login/index.ts
new file mode 100644
index 0000000..967e727
--- /dev/null
+++ b/src/http/api/login/index.ts
@@ -0,0 +1,6 @@
+import { get, post } from '../../index'
+
+// 登录接口
+export const loginApi = (data) => {
+ return post('/login', data)
+}
\ No newline at end of file
diff --git a/src/views/Login.vue b/src/views/Login.vue
index 7786ebb..4e8515a 100644
--- a/src/views/Login.vue
+++ b/src/views/Login.vue
@@ -1,12 +1,138 @@
-
+
- 登录页
+
-
diff --git a/vite.config.ts b/vite.config.ts
index c2e7053..b4fd110 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -5,7 +5,7 @@ import AutoImport from 'unplugin-auto-import/vite'
import { resolve } from 'path'
import vueJsx from '@vitejs/plugin-vue-jsx'
import Components from 'unplugin-vue-components/vite'
-import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
+import { ElementPlusResolver } from 'unplugin-vue-components/resolvers'
import { createHtmlPlugin } from 'vite-plugin-html'
import moment from 'moment'
import { env } from 'node:process'
@@ -82,7 +82,7 @@ export default ({ mode }: any) => {
// open: envInfo.VITE_OPEN,
proxy: {
'/proxyApi': {
- target: 'https://test.com',
+ target: 'http://10.40.92.185:9200',
secure: false,
changeOrigin: true,
rewrite: (path) => path.replace(/^\/proxyApi/, ''),