Commit 10764642 authored by 黄奎's avatar 黄奎

页面修改

parent 51f3c890
...@@ -563,7 +563,6 @@ ...@@ -563,7 +563,6 @@
}, },
//获取模板数据 //获取模板数据
getTemplateData(tempObj) { getTemplateData(tempObj) {
console.log("tempObj",tempObj)
if (tempObj) { if (tempObj) {
this.templateMsg.TemplateId = tempObj.TemplateId; this.templateMsg.TemplateId = tempObj.TemplateId;
this.templateMsg.TemplateName = tempObj.TemplateName; this.templateMsg.TemplateName = tempObj.TemplateName;
......
...@@ -1061,6 +1061,9 @@ ...@@ -1061,6 +1061,9 @@
if (y.QuestionContentObj && y.QuestionContentObj.length > 0) { if (y.QuestionContentObj && y.QuestionContentObj.length > 0) {
y.QuestionContentObj.forEach(qItem => { y.QuestionContentObj.forEach(qItem => {
var tempClozeScore = 0; var tempClozeScore = 0;
if (!qItem.SubScore) {
qItem.SubScore = 0;
}
if (qItem.SubScore != '') { if (qItem.SubScore != '') {
tempClozeScore = qItem.SubScore; tempClozeScore = qItem.SubScore;
} }
......
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