window.onload = function(){ var app = new Vue({ el : "#wrap", data : { "history" : [], "work_idxs" : [], }, computed : { checkAll : { //getter get: function(){ if((this.work_idxs.length != this.history.length) || this.history.length == 0) return false; else return true; }, //setter set: function(e){ if(e){ for(var i=0; i history는 리스트를 가지고 있는 배열이다. ( ajax로 history를 받아오는 부분인데 따로 이부분은 위에 표시 하지 않았다...