提交 f1dd8918 authored 作者: 王鹏飞's avatar 王鹏飞

chore: 取消字符限制

上级 855726b4
......@@ -185,7 +185,7 @@ export default {
},
// 案例题下面的问答题
QAChildChange(pId, item, length) {
if (length.length < 500) {
// if (length.length < 500) {
if (this.questionParams.answerRecord[pId]) {
if (this.questionParams.answerRecord[pId][item.id]) {
this.questionParams.answerRecord[pId][item.id].answer = [item.answer]
......@@ -204,16 +204,16 @@ export default {
}
}
this.$forceUpdate()
} else {
this.$message({
message: '最多输入500个字符',
type: 'warning'
})
}
// } else {
// this.$message({
// message: '最多输入500个字符',
// type: 'warning'
// })
// }
},
// 问答题回答
QAChange(pId, cId, length) {
if (length.length < 500) {
// if (length.length < 500) {
this.questionParams.answerRecord[pId]
? this.questionParams.answerRecord[pId][cId]
? this.questionParams.answerRecord[pId][cId].answer = [this.questionData.textContent]
......@@ -228,12 +228,12 @@ export default {
}
}
this.$forceUpdate()
} else {
this.$message({
message: '最多输入500个字符',
type: 'warning'
})
}
// } else {
// this.$message({
// message: '最多输入500个字符',
// type: 'warning'
// })
// }
},
changeIndex(order) {
this.questionParams.questionIndex = order - 1
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论