add button for modal

This commit is contained in:
vincent 2019-05-11 16:15:18 +02:00
parent a0481fb8eb
commit 9f23a0db3e
2 changed files with 4 additions and 3 deletions

View File

@ -74,7 +74,10 @@
</div> </div>
</div> </div>
<modalLogin v-show="showModalLogin" @close="showModalLogin = false" /> <modalLogin v-show="showModalLogin" @close="showModalLogin = false" />
<modal v-show="showModal" @close="showModal = false">{{modalmessage}}</modal> <modal v-show="showModal" @close="showModal = false">
<p>{{modalmessage}}</p>
<button class="button is-success" @click="showModal = false">close</button>
</modal>
</div> </div>
</template> </template>

View File

@ -12,7 +12,5 @@
<script> <script>
export default { export default {
}; };
</script> </script>