app: Rename

This commit is contained in:
LittleChest 2025-10-03 17:09:36 +08:00
parent 8d2b4ed48b
commit a7f2e241a5
2 changed files with 3 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="/src/styles.css" rel="stylesheet" />
<title>年龄验证</title>
<title>年龄识别</title>
</head>
<body>
<div id="app"></div>

View File

@ -5,7 +5,7 @@
<v-row align="center" justify="center">
<v-col cols="12" sm="8" md="6">
<v-card class="pa-6" elevation="6">
<v-card-title class="justify-center">年龄验证</v-card-title>
<v-card-title class="justify-center">年龄识别</v-card-title>
<v-card-text>
<div class="flex justify-center text-center">
<video ref="video" autoplay playsinline muted width="320" height="240" class="rounded-lg bg-black"
@ -146,6 +146,7 @@ function onFileChange(e) {
}
async function uploadPhoto() {
stopCamera()
if (!photoBlob.value) {
errorMsg.value = '请先拍照或选择图片'
return