|
@@ -42,13 +42,13 @@
|
|
|
:pdfUrl="priFile"
|
|
|
v-if="/\.(pdf)$/i.test(priFile)"
|
|
|
/>
|
|
|
- <img
|
|
|
+ <!-- <img
|
|
|
v-if="/\.(jpeg|jpg|png|img)$/i.test(priFile)"
|
|
|
:src="priFile"
|
|
|
@click="previewImg(priFile)"
|
|
|
style="max-width: 100%;max-height: 100%;"
|
|
|
alt=""
|
|
|
- />
|
|
|
+ /> -->
|
|
|
<span slot="footer" class="dialog-footer">
|
|
|
<el-button @click="priDiaVisible = false">关闭</el-button>
|
|
|
</span>
|
|
@@ -272,6 +272,8 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
choiceAnswer(_data) {
|
|
|
this.taskList[this.phase.atPhase].answerArray[_data[0]].userAnswer =
|
|
|
_data[1];
|
|
|
+ this.saveTopic();
|
|
|
+
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
savaDoIndex() {
|
|
@@ -370,6 +372,7 @@ Instruction: Based on the context, follow "Format example", write content.
|
|
|
},
|
|
|
addFile(obj) {
|
|
|
this.taskList[this.phase.atPhase].fileList.push(obj);
|
|
|
+ this.saveTopic();
|
|
|
this.$forceUpdate();
|
|
|
},
|
|
|
deleteFile(index) {
|