From 1b1196cb212a0c5956850bf05de54c14c90d7c9e Mon Sep 17 00:00:00 2001 From: keqingmoe Date: Tue, 31 Dec 2024 00:04:51 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=E8=B0=83=E8=AF=95=E6=97=A5?= =?UTF-8?q?=E5=BF=97=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81=E6=95=B4?= =?UTF-8?q?=E6=B4=81=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/components/RecordList.vue | 1 - ui/src/components/study/ProblemList.vue | 1 - ui/src/components/users/Repasswd2Dialog.vue | 2 -- 3 files changed, 4 deletions(-) diff --git a/ui/src/components/RecordList.vue b/ui/src/components/RecordList.vue index 7cec2e9..1fa4730 100644 --- a/ui/src/components/RecordList.vue +++ b/ui/src/components/RecordList.vue @@ -227,7 +227,6 @@ const requestQueryRecord = async (id: number) => { const initialize = async () => { let res = await requestRecordCount(); - console.log(res); if (res?.error) { dialog('发生异常', res.error); return; diff --git a/ui/src/components/study/ProblemList.vue b/ui/src/components/study/ProblemList.vue index 0c3a9c3..1ccd6d0 100644 --- a/ui/src/components/study/ProblemList.vue +++ b/ui/src/components/study/ProblemList.vue @@ -219,7 +219,6 @@ let useFraction = false; const answerLabel = ref('答案'); watch(editedItem, (newValue, oldValue) => { - console.log(`${JSON.stringify(oldValue)} => ${JSON.stringify(newValue)}`); if (newValue.answer != oldValue.answer) { answerLabel.value = '答案'; } diff --git a/ui/src/components/users/Repasswd2Dialog.vue b/ui/src/components/users/Repasswd2Dialog.vue index c53954a..7d5689c 100644 --- a/ui/src/components/users/Repasswd2Dialog.vue +++ b/ui/src/components/users/Repasswd2Dialog.vue @@ -67,12 +67,10 @@ const requestRepasswd = async () => { formData.append("user_id", userId.value); formData.append("new_passwd", password.value); let res = await axios.post('/api/auth/repasswd', formData); - console.log(res.data); return res.data as RepasswdResponse; } catch (e) { let ex = e as AxiosError; if (ex.response?.data) { - console.log(ex.response?.data); return ex.response?.data as RepasswdResponse; } { return { error: ex.message };