【修改】 word pptx 出题考点回显BUG
This commit is contained in:

committed by
陆光LG

parent
0c800b8ff3
commit
ca7d26d0dd
@@ -464,6 +464,7 @@ const open = async (queryParams: any, type: string, id?: number) => {
|
|||||||
try {
|
try {
|
||||||
const res = await QuestionApi.getQuestion(id)
|
const res = await QuestionApi.getQuestion(id)
|
||||||
formData.value = res
|
formData.value = res
|
||||||
|
list.value = formData.value.answerList
|
||||||
documentList.value = res.fileUploads
|
documentList.value = res.fileUploads
|
||||||
} finally {
|
} finally {
|
||||||
formLoading.value = false
|
formLoading.value = false
|
||||||
|
@@ -486,6 +486,8 @@ const open = async (queryParams: any, type: string, id?: number) => {
|
|||||||
try {
|
try {
|
||||||
const res = await QuestionApi.getQuestion(id)
|
const res = await QuestionApi.getQuestion(id)
|
||||||
formData.value = res
|
formData.value = res
|
||||||
|
console.log(formData.value)
|
||||||
|
list.value = formData.value.answerList
|
||||||
documentList.value = res.fileUploads
|
documentList.value = res.fileUploads
|
||||||
} finally {
|
} finally {
|
||||||
formLoading.value = false
|
formLoading.value = false
|
||||||
|
Reference in New Issue
Block a user