mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-23 06:45:22 -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
|
Cancel
|
||||||
</v-btn>
|
</v-btn>
|
||||||
<v-spacer></v-spacer>
|
<v-spacer></v-spacer>
|
||||||
<v-btn color="success" @click="$emit('submit')">
|
<v-btn color="success" @click="submitEvent">
|
||||||
Submit
|
Submit
|
||||||
</v-btn>
|
</v-btn>
|
||||||
</slot>
|
</slot>
|
||||||
|
@ -66,6 +66,10 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
submitEvent() {
|
||||||
|
this.$emit("submit");
|
||||||
|
this.close();
|
||||||
|
},
|
||||||
open() {
|
open() {
|
||||||
this.dialog = true;
|
this.dialog = true;
|
||||||
},
|
},
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue