Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <template>
- . . .
- <v-btn @click="openDialog" color="primary">Open Dialog</v-btn>
- . . .
- </template>
- . . .
- methods: {
- openDialog() {
- this.$refs.dlg
- .open()
- .then(res => {
- this.hasil = res;
- })
- .catch(res => {
- this.hasil = res;
- });
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement