Commit 687098d6 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/xiangwei/educationstu into master

parents a2684d8c 43a48bcb
...@@ -165,7 +165,8 @@ ...@@ -165,7 +165,8 @@
<template v-if="isOperate"> <template v-if="isOperate">
<textarea <textarea
type="text" type="text"
v-model="item2.myAnswer" v-for="cItem in item2.SubAnwser"
v-model="cItem.Content"
class="chooseName chooseName2" class="chooseName chooseName2"
placeholder="请填写答案" placeholder="请填写答案"
@input="AnswerChange(item2)" @input="AnswerChange(item2)"
...@@ -173,8 +174,9 @@ ...@@ -173,8 +174,9 @@
</template> </template>
<template v-else> <template v-else>
<view <view
v-for="cItem in item2.SubAnwser"
class="viewAnswerContent" class="viewAnswerContent"
v-html="item2.myAnswer" v-html="cItem.Content"
></view> ></view>
</template> </template>
</view> </view>
......
...@@ -147,7 +147,7 @@ export default { ...@@ -147,7 +147,7 @@ export default {
let TimeDis = parseInt(d2 - d1) / 1000 / 60; let TimeDis = parseInt(d2 - d1) / 1000 / 60;
if (TimeDis < props.SubmitTimes) { if (TimeDis < props.SubmitTimes) {
uni.showToast({ uni.showToast({
title: `开不足${props.SubmitTimes}分钟禁止交卷哦~`, title: `开不足${props.SubmitTimes}分钟禁止交卷哦~`,
icon: "none", icon: "none",
}); });
return; return;
......
...@@ -531,7 +531,7 @@ export default { ...@@ -531,7 +531,7 @@ export default {
let TimeDis = parseInt(d2 - d1) / 1000 / 60; let TimeDis = parseInt(d2 - d1) / 1000 / 60;
if (TimeDis < data.SubmitTimes) { if (TimeDis < data.SubmitTimes) {
uni.showToast({ uni.showToast({
title: `开不足${data.SubmitTimes}分钟禁止交卷哦~`, title: `开不足${data.SubmitTimes}分钟禁止交卷哦~`,
icon: "none", icon: "none",
}); });
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment