export option

question-12
Bastien JACQUELIN 2 years ago
parent ad671bc9dc
commit da8f034983

@ -83,6 +83,9 @@ export default{
this.name='';
this.description='';
}
},
Export:function(){
console.log(JSON.stringify(this.teams))
}
},
template:
@ -92,7 +95,7 @@ export default{
<span @click="myfun" style="cursor: pointer">Teams</span>
<span>Results</span>
</div>
<div v-if="clicked">
<div id="Teams" v-if="clicked">
<form @submit.prevent>
<br>
<label>{{errMessage}}</label><br/>
@ -118,6 +121,7 @@ export default{
:nom="team.name"
:description="team.description">
</team-card>
<input type="submit" value="Export" v-on:click="Export"/>
</div>
`
}

Loading…
Cancel
Save