diff --git a/.env.example b/.env.example index 7e831e4..0c535b9 100644 --- a/.env.example +++ b/.env.example @@ -11,4 +11,5 @@ GITEA_CLIENT_ID=your_gitea_client_id GITEA_CLIENT_SECRET=your_gitea_client_secret GITEA_URL=https://gitea.com NITRO_PORT=3399 -APP_URL=http://localhost:3399 \ No newline at end of file +APP_URL=http://localhost:3399 +LOG_LEVEL=info \ No newline at end of file diff --git a/app/components/index/CardFormModal.vue b/app/components/index/CardFormModal.vue index 158d5d5..b1d9744 100644 --- a/app/components/index/CardFormModal.vue +++ b/app/components/index/CardFormModal.vue @@ -181,7 +181,7 @@ async function onFileUpload(e: Event) { }) imageUrl.value = raw.data[0].url } catch (e) { - console.log(e) + console.error('[CardFormModal] 图片上传失败:', e) error.value = '图片上传失败' } } diff --git a/app/error.vue b/app/error.vue new file mode 100644 index 0000000..c2ee6d4 --- /dev/null +++ b/app/error.vue @@ -0,0 +1,60 @@ + + + + + diff --git a/app/pages/auth/login.vue b/app/pages/auth/login.vue index 6234433..2cc16fe 100644 --- a/app/pages/auth/login.vue +++ b/app/pages/auth/login.vue @@ -11,7 +11,6 @@ const redirect = computed(() => route.query.redirect as string || '/') const loginForm = reactive({ username: '', password: '', - rememberMe: false, }) const captcha = reactive({ @@ -136,14 +135,6 @@ onMounted(() => {
-
- -
- - +