Commit bde1e6310b22ca4d1704284a1e3a813da9b9534f
1 parent
23a894ee
'1'
Showing
1 changed file
with
1 additions
and
22 deletions
wenjuan-h5/pages_category_page1/question/question.vue
| ... | ... | @@ -771,31 +771,10 @@ |
| 771 | 771 | } |
| 772 | 772 | chooseItem.disabled=true |
| 773 | 773 | } |
| 774 | - | |
| 775 | - if (chooseItem.disabled) { | |
| 776 | - chooseItem.disabled = false | |
| 777 | - for (let key in this.wenjuan.question) { | |
| 778 | - this.wenjuan.question[key].options.map(res => { | |
| 779 | - if (res.answer == chooseItem.answer) { | |
| 780 | - this.wenjuan.question[key].choose = '' | |
| 781 | - } | |
| 782 | - }) | |
| 783 | - } | |
| 784 | - } else { | |
| 785 | - for (let key in this.wenjuan.question) { | |
| 786 | - this.wenjuan.question[key].options.map(res => { | |
| 787 | - if (res.answer == chooseItem.answer) { | |
| 788 | - this.wenjuan.question[key].choose = chooseItem.answer | |
| 789 | - } | |
| 790 | - }) | |
| 791 | - } | |
| 792 | - chooseItem.disabled = true | |
| 793 | - } | |
| 794 | - | |
| 795 | 774 | } |
| 796 | 775 | |
| 797 | 776 | } |
| 798 | - }; | |
| 777 | + } | |
| 799 | 778 | </script> |
| 800 | 779 | |
| 801 | 780 | <style> | ... | ... |