修复了列表的问题

This commit is contained in:
luyuan 2021-03-17 11:23:53 +08:00
parent 04ff77ed3e
commit 597dfccf84
Signed by: theluyuan
GPG Key ID: A7972FD973317FF3
4 changed files with 16437 additions and 14 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" /> <meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />

View File

@ -67,10 +67,13 @@
<span v-html="question.analyze" class="q-item-span-content" /> <span v-html="question.analyze" class="q-item-span-content" />
</div> </div>
<div class="question-answer-show-item"> <div class="question-answer-show-item">
<span class="question-show-item">正确答案</span> <span :class="{'question-show-item': qType!=4}">正确答案</span>
<span v-if="qType==1||qType==2 ||qType==5" v-html="question.correct" class="q-item-span-content"/> <span v-if="qType==1||qType==2 ||qType==5" v-html="question.correct" class="q-item-span-content"/>
<span v-if="qType==3" v-html="trueFalseFormatter(question)" class="q-item-span-content"/> <span v-if="qType==3" v-html="trueFalseFormatter(question)" class="q-item-span-content"/>
<span v-if="qType==4">{{question.correctArray}}</span> <!-- <span v-if="qType==4" v-for="(item,key) in question.correctArray" :key="key" v-html="item"></span> -->
<ol v-if="qType==4">
<li v-for="(item,key) in question.correctArray" :key="key" v-html="item"></li>
</ol>
</div> </div>
</div> </div>
<div v-else> <div v-else>

View File

@ -19,7 +19,7 @@ module.exports = {
hotOnly: false, hotOnly: false,
proxy: { proxy: {
'/api': { '/api': {
target: 'http://localhost:8000', target: 'http://129.211.1.159:8080',
changeOrigin: true changeOrigin: true
} }
} }