feat 存档

This commit is contained in:
2026-01-30 14:42:24 +08:00
parent a53bbc3319
commit 3e99715eac
5 changed files with 50 additions and 9 deletions

View File

@@ -158,7 +158,7 @@ export default {
async loadQuestion() {
try {
const res = await api.getQuestion()
const res = await api.getQuicklyQuestion()
if (res.data) {
this.question = res.data
this.resetAnswer()
@@ -203,7 +203,7 @@ export default {
this.totalCount++
try {
const res = await api.answerQuestion(this.question.sn, answer)
const res = await api.answerQuicklyQuestion(this.question.sn, answer)
if (res.data) {
this.correctAnswer = res.data.answer || answer