diff --git a/docs/swagger.json b/docs/swagger.json index c314693b..112b3102 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1749,7 +1749,6 @@ "properties": { "password": { "type": "string", - "minLength": 6, "example": "password123" }, "username": { diff --git a/src/App.vue b/src/App.vue index fd871c7a..afcf3aaf 100644 --- a/src/App.vue +++ b/src/App.vue @@ -1,14 +1,31 @@ diff --git a/src/components/LoginForm.vue b/src/components/LoginForm.vue new file mode 100644 index 00000000..b61edfa6 --- /dev/null +++ b/src/components/LoginForm.vue @@ -0,0 +1,117 @@ + + + + + diff --git a/src/layouts/MainLayout.vue b/src/layouts/MainLayout.vue index c4059a73..633ced5d 100644 --- a/src/layouts/MainLayout.vue +++ b/src/layouts/MainLayout.vue @@ -45,12 +45,12 @@
- 管理员 + {{ username }} @@ -72,8 +72,8 @@