mirror of
https://github.com/fmhy/edit.git
synced 2026-02-19 01:31:41 +11:00
formatting
This commit is contained in:
parent
ad89f51fb2
commit
c14f6be397
3 changed files with 12 additions and 6 deletions
|
|
@ -6,13 +6,12 @@ const showModal = ref(false);
|
|||
</script>
|
||||
|
||||
<template>
|
||||
<button class="modal-button" @click="showModal = true">Show Modal</button>
|
||||
<button class="modal-button" @click="showModal = true">Feedback</button>
|
||||
|
||||
<Teleport to="body">
|
||||
<Transition name="modal">
|
||||
<div v-show="showModal" class="modal-mask">
|
||||
<div class="modal-container">
|
||||
<p>Send Feedback</p>
|
||||
<Feedback />
|
||||
<div class="model-footer">
|
||||
<button class="modal-button" @click="showModal = false">Close</button>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue