[Vuejs]-Repeated data in vue

0👍

In your code, data() returns only one object that contains

{
   nama: 'Luthfi',
   show: true
}

You must change this like:

data : function() {
    return{
        nama: 'Luthfi',
        show: true,
        jawaban: 'A.22',
        correct: true,
        jawabann: 'B.3'
    }
}

Leave a comment