|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
- <c-input class="mb-16" v-model="inputStem" placeholder="题干搜索" @input="debounceFetchQuestions"></c-input>
|
|
|
+ <input class="mb-16" v-model="inputStem" placeholder="题干搜索" @input="debounceFetchQuestions" />
|
|
|
<router-link to="/create-question">
|
|
|
<button>
|
|
|
创建题目
|
|
|
@@ -27,13 +27,12 @@
|
|
|
import debounce from '@/utils/debounce'
|
|
|
import { getQuestionList } from '@/server/question'
|
|
|
import Pagination from '@/components/Pagination'
|
|
|
-import CInput from '@/components/CInput'
|
|
|
import { markdownToHTML } from '@/utils/markdown'
|
|
|
import QuestionCard from '@/views/quiz/components/QuestionCard'
|
|
|
|
|
|
export default {
|
|
|
name: 'QuestionTable',
|
|
|
- components: { QuestionCard, CInput, Pagination },
|
|
|
+ components: { QuestionCard, Pagination },
|
|
|
props: {
|
|
|
selectable: {
|
|
|
type: Boolean,
|