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 }