Ajout description

Teamcard
Aurian JAULT 2 years ago
parent 52be120b85
commit 2921e151c7

@ -5,10 +5,15 @@ export default{
description: String description: String
}, },
methods: { methods: {
test: function(){
console.log("test")
}
}, },
template: ` template: `
<div id="teamCard"> <div id="teamCard">
<span>{{id}} {{nom}} description: {{description.slice(0,20)}}</span> <span>{{id}} {{nom}} description: {{description.slice(0,20)}}</span>
<br>
<span v-on:click="test">Editer</span>
</div> </div>
` `
} }

Loading…
Cancel
Save