import Vue from 'vue'
Vue.component("list-menu", {
template: `
{{item.project_abbreviation}}
`,
props: {
data:{
type:Array
}
},
data() {
return {
videoListData:[]
}
},
mounted(){
this.init()
},
methods: {
init(){
this.videoListData = this.data
},
onVideoListFor(id,item){
var data = this.videoListData
for (let i = 0; i < data.length ; i++) {
if(data[i].id == id){ //data[i].type == false
data[i].type = true
for (let j = 0; j