|
@@ -286,14 +286,14 @@ export function getQuestion(examId: string, studentId: string) {
|
|
|
hide()
|
|
hide()
|
|
|
if (response.err === 0) {
|
|
if (response.err === 0) {
|
|
|
const question = response.res;
|
|
const question = response.res;
|
|
|
- let editableImage: {
|
|
|
|
|
- [key: string]: string} = {},
|
|
|
|
|
- nextEditable: {
|
|
|
|
|
- [key: string]: string} = {},
|
|
|
|
|
- nextUnEditable: {
|
|
|
|
|
- [key: string]: string} = {}
|
|
|
|
|
- ;
|
|
|
|
|
question.codeList.forEach((code:NestedCodeItemVO) => {
|
|
question.codeList.forEach((code:NestedCodeItemVO) => {
|
|
|
|
|
+ let editableImage: {
|
|
|
|
|
+ [key: string]: string} = {},
|
|
|
|
|
+ nextEditable: {
|
|
|
|
|
+ [key: string]: string} = {},
|
|
|
|
|
+ nextUnEditable: {
|
|
|
|
|
+ [key: string]: string} = {}
|
|
|
|
|
+ ;
|
|
|
if (code.editable) {
|
|
if (code.editable) {
|
|
|
for (let key in code.editable){
|
|
for (let key in code.editable){
|
|
|
if (isImage(key)) {
|
|
if (isImage(key)) {
|
|
@@ -303,8 +303,6 @@ export function getQuestion(examId: string, studentId: string) {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- })
|
|
|
|
|
- question.codeList.forEach((code: NestedCodeItemVO) => {
|
|
|
|
|
if (code.editable){
|
|
if (code.editable){
|
|
|
code.editable = nextEditable;
|
|
code.editable = nextEditable;
|
|
|
}
|
|
}
|