diff --git a/pages/apply/index.vue b/pages/apply/index.vue
index c13e267..e2e0d4e 100644
--- a/pages/apply/index.vue
+++ b/pages/apply/index.vue
@@ -5,14 +5,17 @@
-
-
-
-
-
+
+
+
+
+
+
+
+
+ rules="required"
+ />
+
\ No newline at end of file
diff --git a/pages/register/index.vue b/pages/register/index.vue
index 9693c47..5c19d07 100644
--- a/pages/register/index.vue
+++ b/pages/register/index.vue
@@ -4,12 +4,31 @@
注册页面
-
-
- Primary
-
-
-
-
\ No newline at end of file
+
+
+
+
+
+
+
+
+
+
+
+ 已阅读并同意《用户协议》
+
+
+ 希望获取最新资讯
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/server/api/test/index.ts b/server/api/test/index.ts
index 347377f..638aad6 100644
--- a/server/api/test/index.ts
+++ b/server/api/test/index.ts
@@ -2,6 +2,8 @@ import { PrismaClient } from "@prisma/client"
const db = new PrismaClient()
-export default defineEventHandler((event) => {
- return 'Hello World!'
+export default defineEventHandler(async(event) => {
+ const body = await readBody(event)
+ console.info(body)
+ return body
})
\ No newline at end of file
diff --git a/types/Application/Application.ts b/types/Application/Application.ts
index f087af8..f839334 100644
--- a/types/Application/Application.ts
+++ b/types/Application/Application.ts
@@ -1,3 +1,9 @@
export type Application = {
-
+ name: string
+ area: string
+ cpu: number
+ ram: number
+ disk: number
+ usage: string
+ applicantId: number
}
\ No newline at end of file
diff --git a/vueform.config.ts b/vueform.config.ts
index 90a8bac..966cbd4 100644
--- a/vueform.config.ts
+++ b/vueform.config.ts
@@ -4,6 +4,7 @@ import en from '@vueform/vueform/locales/en'
import zh_CN from '@vueform/vueform/locales/zh_CN'
import vueform from '@vueform/vueform/dist/vueform'
import { defineConfig } from '@vueform/vueform'
+import PluginMask from '@vueform/plugin-mask'
import axios from 'axios'
// You might place these anywhere else in your project
@@ -16,4 +17,7 @@ export default defineConfig({
theme: vueform,
locales: { zh_CN,en },
locale: 'zh_CN',
+ plugins: [
+ PluginMask,
+ ]
})
\ No newline at end of file