Commit 0dcd3a9f authored by 黄奎's avatar 黄奎

页面修改

parent 469573a1
...@@ -131,7 +131,7 @@ ...@@ -131,7 +131,7 @@
if (this.data && this.data.QuestionContentObj && this.data.QuestionContentObj.length > 0) { if (this.data && this.data.QuestionContentObj && this.data.QuestionContentObj.length > 0) {
var answer = ""; var answer = "";
this.data.QuestionContentObj.forEach((item) => { this.data.QuestionContentObj.forEach((item) => {
item.forEach((subItem) => { item.OptionList.forEach((subItem) => {
if (subItem.IsAnswer) { if (subItem.IsAnswer) {
answer += "," + subItem.Name; answer += "," + subItem.Name;
} }
...@@ -144,8 +144,8 @@ ...@@ -144,8 +144,8 @@
} }
}, },
ChangeItem(item, subItem) { ChangeItem(item, subItem) {
if (item && item.length > 0) { if (item && item.OptionList.length > 0) {
item.forEach(childItem => { item.OptionList.forEach(childItem => {
childItem.IsAnswer = false; childItem.IsAnswer = 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