diff --git a/ui/index.html b/ui/index.html
index 9e5fc8f06..86940d230 100644
--- a/ui/index.html
+++ b/ui/index.html
@@ -1,10 +1,11 @@
-
+
-
-
-
- Vite App
+
+
+
+
+ %VITE_APP_TITLE%
diff --git a/ui/src/api/type/login.ts b/ui/src/api/type/login.ts
index a6a0fe54e..34d2243c0 100644
--- a/ui/src/api/type/login.ts
+++ b/ui/src/api/type/login.ts
@@ -7,5 +7,9 @@ interface LoginRequest {
* 密码
*/
password: string
+ /**
+ * 验证码
+ */
+ code: string
}
export type { LoginRequest }
diff --git a/ui/src/views/login/components/VerifyCode.vue b/ui/src/views/login/components/VerifyCode.vue
new file mode 100644
index 000000000..0e86184e3
--- /dev/null
+++ b/ui/src/views/login/components/VerifyCode.vue
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
diff --git a/ui/src/views/login/index.vue b/ui/src/views/login/index.vue
index 875bd4288..28adc1502 100644
--- a/ui/src/views/login/index.vue
+++ b/ui/src/views/login/index.vue
@@ -34,6 +34,20 @@
+
(false)
+const identifyCode = ref('1234')
const loginFormRef = ref()
const loginForm = ref({
username: '',
password: '',
+ code: '',
})
const rules = ref>({