From 0015d4e147a787fa4836d9e429314468bfb5345f Mon Sep 17 00:00:00 2001
From: qsh <>
Date: Thu, 13 Nov 2025 14:43:55 +0800
Subject: [PATCH] sc
---
src/views/Question/Database/index.vue | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/src/views/Question/Database/index.vue b/src/views/Question/Database/index.vue
index 49e634f..6ee8a6e 100644
--- a/src/views/Question/Database/index.vue
+++ b/src/views/Question/Database/index.vue
@@ -103,7 +103,7 @@
v-loading="loading"
:data="tableList"
highlight-current-row
- max-height="calc(100vh - 320px)"
+ max-height="calc(100vh - 270px)"
>
@@ -214,7 +214,6 @@
import { searchQuestion, getQuestionSort, deleteQuestion } from '@/api/xjapplet/xjdatabase'
import QuestionAddForm from './Components/QuestionAddForm.vue'
import DialogDuplicateQuestion from './Components/DialogDuplicateQuestion.vue'
-import { t } from '@wangeditor/editor'
const message = useMessage()
@@ -229,6 +228,7 @@ const queryParams = ref({
isPic: undefined,
isDuplicate: undefined,
keyword: '',
+ chapter: undefined,
pageNo: 1,
pageSize: 20
})
@@ -264,7 +264,7 @@ const getQuestionChapter = () => {
source: queryParams.value.source
}).then((data) => {
chapterOptions.value = data
- queryParams.value.chapter = ''
+ queryParams.value.chapter = undefined
})
}
@@ -282,6 +282,7 @@ function handleReset() {
subject: '1',
isPic: undefined,
keyword: '',
+ chapter: undefined,
pageNo: 1,
pageSize: 20
}