Commit b845b7c3 authored by 刘阳's avatar 刘阳

fix: 提示

parent 3977b8ff
......@@ -20,7 +20,7 @@
<el-button @click="sendAnswer"
type="primary"
class="itm"
:disabled="false">提交
:disabled="disabled">提交
</el-button>
</div>
</div>
......@@ -118,6 +118,7 @@ export default {
},
(data) => {
console.log('回执', data);
this.$alert('提交成功!')
this.disabled = true;
}
);
......@@ -129,9 +130,9 @@ export default {
// "payload":{"type":0,"title":"选择题"}}]
if (msg && msg.from && msg.from.indexOf('teacher') > -1 && msg.payload.type > -1) {
this.questionType = msg.payload.type
if (this.questionType === 3) {
this.disabled = false
}
// if (this.questionType === 3) {
this.disabled = false
// }
}
}
},
......
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