diff --git a/src/App.vue b/src/App.vue index aa4ae28..dfb31d5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -32,9 +32,10 @@ -
-
调试信息
-
{{ debug }}
+
+
+
{{ item }}
+
@@ -42,8 +43,8 @@
性别:{{ genderDisplay }}
- - + @@ -63,7 +64,6 @@ const photoBlob = ref(null) const loading = ref(false) const debug = ref('') const errorMsg = ref('') -const legacyModel = ref(false) const saveConsent = ref(true) const age = ref(null) const gender = ref(null) @@ -159,7 +159,6 @@ async function uploadPhoto() { let url = 'https://api.littlew.top/age' const params = [] if (saveConsent.value) params.push('save=true') - if (legacyModel.value) params.push('legacy=true') if (params.length) url += '?' + params.join('&') const resp = await fetch(url, { method: 'POST', body: form }, { credentials: 'include' }) const text = await resp.text()