generated from VLADIMIR/template_frontend
fix
This commit is contained in:
@@ -1,27 +1,15 @@
|
||||
<script setup lang="ts">
|
||||
import { NInput, NInputGroup, NSpace, NText } from 'naive-ui'
|
||||
import { type PropType } from 'vue'
|
||||
|
||||
import type { EditableQuestion } from '@/types/editor'
|
||||
|
||||
const props = defineProps({
|
||||
newQuestionCode: {
|
||||
type: String,
|
||||
},
|
||||
newQuestionText: {
|
||||
type: String,
|
||||
},
|
||||
newQuestionAnswer: {
|
||||
type: String,
|
||||
},
|
||||
question: {
|
||||
type: Object as PropType<EditableQuestion>,
|
||||
},
|
||||
mode: {
|
||||
type: String,
|
||||
required: true,
|
||||
},
|
||||
})
|
||||
const props = defineProps<{
|
||||
newQuestionCode?: string
|
||||
newQuestionText?: string
|
||||
newQuestionAnswer?: string
|
||||
question?: EditableQuestion
|
||||
mode: string
|
||||
}>()
|
||||
|
||||
const emit = defineEmits<{
|
||||
'update:newQuestionCode': [value: string]
|
||||
|
||||
Reference in New Issue
Block a user