mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 22:43:34 -07:00
base dialog event
This commit is contained in:
parent
1001fde4ad
commit
837c18420f
1 changed files with 5 additions and 1 deletions
|
@ -26,7 +26,7 @@
|
|||
Cancel
|
||||
</v-btn>
|
||||
<v-spacer></v-spacer>
|
||||
<v-btn color="success" @click="$emit('submit')">
|
||||
<v-btn color="success" @click="submitEvent">
|
||||
Submit
|
||||
</v-btn>
|
||||
</slot>
|
||||
|
@ -66,6 +66,10 @@ export default {
|
|||
};
|
||||
},
|
||||
methods: {
|
||||
submitEvent() {
|
||||
this.$emit("submit");
|
||||
this.close();
|
||||
},
|
||||
open() {
|
||||
this.dialog = true;
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue